How to get the ascii code of Chinese characters?
Gerhard Fiedler
gelists at gmail.com
Sun Aug 20 08:43:23 EDT 2006
On 2006-08-20 05:56:05, Fredrik Lundh wrote:
>>> No. ASCII characters range is 0..127 while Unicode characters range is
>>> at least 0..65535.
>>
>> Actually, Unicode goes beyond 65535.
>
> you may want to look up "at least" in a dictionary.
As a homework, try to parse "at least until" and "goes beyond" and compare
the two (a dictionary is not necessarily of help with this :)
"range is least 0..65535" : upper_bound >= 65535
"goes beyond 65535" : upper_bound > 65535
For some discussions (like how to represent code points etc) this
distinction is crucial.
Gerhard
More information about the Python-list
mailing list