Re: [Python-Dev] Internationalization Toolkit (fwd)

Andy originally sent this just to me... I replied in kind, but saw that he sent another copy to python-dev. Sending my reply there... ---------- Forwarded message ---------- Date: Thu, 11 Nov 1999 04:00:38 -0800 (PST) From: Greg Stein <gstein@lyra.org> To: andy@robanal.demon.co.uk Subject: Re: [Python-Dev] Internationalization Toolkit [ note: you sent direct to me; replying in kind in case that was your intent ] On Wed, 10 Nov 1999, [iso-8859-1] Andy Robinson wrote:
Neither of those examples are solid reasons for having a default encoding that can be changed. Both can easily be altered at the Python level by using an encoding function before printing. You're asking for convenience, *not* providing a reason.
Not flexibility: convenience. You can certainly do: print encode(u,'Shift-JIS')
Useful, but not a requirement. Keep the interpreter simple, understandable, and predictable. A module that changes the default over to 'utf-8' because it is interacting with a network object is going to screw up your app if you're relying on an encoding of 'shift-jis' to be present. Cheers, -g -- Greg Stein, http://www.lyra.org/
participants (1)
-
Greg Stein