2012/2/9 Antoine Pitrou <solip...@pitrou.net> > > I think there's a general expectation that if you encode something > > with one codec you will be able to decode it with the same codec. > > That's not necessarily true for the locale encoding. > > As And pointed out, this is already the behaviour of the "mbcs" codec > under Windows. "locale" would be the moral (*) equivalent of that under > Unix.
With the difference that mbcs cannot change during execution. I don't even know if it is possible to change it at all, except by reinstalling Windows. -- Amaury Forgeot d'Arc
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com