On Mon, May 17, 2010 at 2:14 PM, wrote:
> In researching a solution, I believe locale.getpreferredencoding() might
> be a better choice (than locale.getdefaultlocale()[ 1 ]) for determining
> a system's default encoding?
I haven't used the locale module a lot, but it seems to me that if
you're s
In researching a solution, I believe locale.getpreferredencoding() might
be a better choice (than locale.getdefaultlocale()[ 1 ]) for determining
a system's default encoding?
In other words change:
>>> codePage = locale.getdefaultlocale()[ 1 ]
To this:
>>> codePage = locale.getpreferredencoding