How to get the ascii code of Chinese characters?

Fredrik Lundh fredrik at pythonware.com
Sun Aug 20 09:31:20 EDT 2006


Gerhard Fiedler wrote:

>>> 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.

do you know anything about how Unicode is used in real life, or are you 
just squabbling ?

</F>




More information about the Python-list mailing list