This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients MrJean1, amaury.forgeotdarc, loewis, mark.dickinson
Date 2008-11-29.22:22:55
SpamBayes Score 1.81663e-08
Marked as misclassified No
Message-id <1227997378.2.0.127280097426.issue4388@psf.upfronthosting.co.za>
In-reply-to
Content
So the obvious quick fix is, on OS X only, to set the locale to e.g. 
"en_US.UTF-8" instead of "" just before the mbstowcs call.

Here's a patch that does this.

I don't like this much, though.  For one thing, I don't have any reason 
to believe that the particular locale "en_US.UTF-8" will be supported on 
any given installation of OS X.

Anyone have any better suggestions?
History
Date User Action Args
2008-11-29 22:22:59mark.dickinsonsetrecipients: + mark.dickinson, loewis, amaury.forgeotdarc, MrJean1
2008-11-29 22:22:58mark.dickinsonsetmessageid: <1227997378.2.0.127280097426.issue4388@psf.upfronthosting.co.za>
2008-11-29 22:22:56mark.dickinsonlinkissue4388 messages
2008-11-29 22:22:56mark.dickinsoncreate