Post Reply 
asc("≤") -> {32,8804,32} ?
07-14-2020, 07:13 PM
Post: #5
RE: asc("≤") -> {32,8804,32} ?
(07-14-2020 09:01 AM)ijabbott Wrote:  Also, the real calculator in CAS mode seems to treat the string as a sequence of UTF-8 byte codes instead of the actual character codes, and so gives a different answer: {32,226,137,164,32}. But in HOME mode it produces the answer: {8804}.

Also, CAS treats ASC() and asc() differently for non-ASCII characters. Try both on the Greek lower-case pi character (Shift 3):
ASC("π") --> {960}
asc("π") --> {207, 128}

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
asc("≤") -> {32,8804,32} ? - compsystems - 07-14-2020, 01:56 AM
RE: asc("≤") -> {32,8804,32} ? - Joe Horn - 07-14-2020 07:13 PM
RE: asc("≤") -> {32,8804,32} ? - parisse - 07-14-2020, 05:59 PM
RE: asc("≤") -> {32,8804,32} ? - parisse - 07-17-2020, 08:05 PM
RE: asc("≤") -> {32,8804,32} ? - DrD - 07-14-2020, 06:56 PM
RE: asc("≤") -> {32,8804,32} ? - parisse - 07-17-2020, 05:01 AM
RE: asc("≤") -> {32,8804,32} ? - parisse - 07-17-2020, 08:09 PM



User(s) browsing this thread: 1 Guest(s)