Unicode encoding question
Erik Max Francis
max at alcyone.com
Sat Mar 15 11:48:06 CET 2003
Jeethu Rao wrote:
> I'm writing a chat server in Python, I thought
> It'd be a good idea to have all the text messages
> in Unicode to support internationalization, But
> I'm not quite sure about the encoding to use.
> I've perused through the Python Unicode Tutorial
> And quite a few documents on the web. But I could'nt
> Quite get a definitive answer.
It doesn't matter, as long as all your chat server clients agree. UTF-8
or UTF-16 would be the obvious choices; the preference would depend on
the language(s) you'd typically expect to be used over the server.
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ There is nothing so subject to the inconstancy of fortune as war.
\__/ Miguel de Cervantes
7 Sisters Productions / http://www.7sisters.com/
Web design for the future.
More information about the Python-list