[PATCH] default _fs_enc to 'ascii' when sys.getfilesystemencoding() is nil.
Bart Teeuwisse
bart-gmane at thecodemill.biz
Fri Oct 20 15:03:10 BST 2006
Martin Pool <mbp <at> canonical.com> writes:
>
> On 9 Oct 2006, Bart Teeuwisse <bart-gmane <at> thecodemill.biz> wrote:
> > Title and comments below say it all.
>
> Thanks. We should assume something if Python returns None, but it could
> plausibly be either ascii or utf-8.
>
> Bart, as another data point, what encoding are file names on your
> system?
utf-8 is indeed a better choice. The error occurs on an old(er) FreeBSD machine
w/o locale support.
/Bart
More information about the bazaar
mailing list