default fsenc patch

Eli Zaretskii eliz at
Tue Jan 24 03:59:29 UTC 2012

> From: Martin Pool <mbp at>
> Date: Tue, 24 Jan 2012 09:52:24 +1100
> Cc: Bazaar <bazaar at>
> The issue I'm talking about here is just what to do when the user has
> no fsenc specified by their locale.  Python/glibc effectives assumes
> this means "ascii" and so it errors out when there are non ascii
> strings.  We discussed whether it would be better to assume utf-8
> instead.

On Windows, it should be UTF-16 instead (assuming that "wide"
a.k.a. Unicode APIs are used).

More information about the bazaar mailing list