How to get the ascii code of Chinese characters?

many_years_after shuanyu at gmail.com
Sat Aug 19 22:12:18 EDT 2006


John Machin wrote:
> many_years_after wrote:
> > hi:
> >
> > what I want to do is just to make numbers as people input some Chinese
> > character(hanzi,i mean).The same character will create the same
> > number.So I think ascii code can do this very well.
> >
>
> Possibly you have "create" upside-down. Could you possibly be talking
> about an "input method", in which people type in ascii letters (and
> maybe numbers) and the *result* is a Chinese character? In other words,
> what *everybody* uses to input Chinese characters?
>
> Perhaps you could ask on the Chinese Python newsgroup.
>
> *GIVE* *EXAMPLES* of what you want to do.
Well, people may input from keyboard. They input some Chinese
characters, then, I want to create a number. The same number will be
created if they input the same Chinese characters.




More information about the Python-list mailing list