Yet another unicode WTF

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Fri Jun 5 01:50:17 EDT 2009

In message <mailman.1149.1244167714.8015.python-list at>, Gabriel 
Genellina wrote:

> Python knows the terminal encoding (or at least can make a good guess),
> but a file may use *any* encoding you want, completely unrelated to your
> terminal settings.

It should still respect your localization settings, though.

More information about the Python-list mailing list