help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compute ISBN-10, char-to-int?


From: Emanuel Berg
Subject: Re: compute ISBN-10, char-to-int?
Date: Mon, 09 Sep 2019 19:47:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Stefan Monnier wrote:

> (- c ?0) and (+ n ?0) work not just with
> Unicode code points, but with code points in
> any character set that is sane enough to put
> the digits from 0 to 9 consecutively in this
> order. That's the case in ASCII, EBCDIC, and
> all other charsets I know.

EBCDIC = Extended Binary-Coded Decimal Interchange Code

http://www.barrcentral.com/help/3270/appendix_b._ascii_and_ebcdic_tables.htm?sa=X&ved=2ahUKEwiTptvPpcTkAhWqpIsKHVtRCRgQ9QF6BAgLEAI
    
Seems to have something to do with IBM...

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]