[Merge] Not all whitespace is unicode
Lukáš Lalinský
lalinsky at gmail.com
Thu Feb 1 08:04:17 GMT 2007
On Št, 2007-02-01 at 16:52 +1100, Martin Pool wrote:
> On 31 Jan 2007, Henry Ludemann <henry at hl.id.au> wrote:
> > Fix that changes the assumption that whitespace characters are
> > convertible to unicode.
> >
> > I'm not sure if this should be applied; it was to fix a problem I
> > experienced when using tailor to control bzr under windows python while
> > in cygwin; who know's if this correct or not :-)
>
> There is something extremely strange going on if there are any
> characters in string.whitespace that are not convertable to unicode...
>
> Maybe string.whitespace is locale-dependent? If it is, we could just
> hardcode the ascii value here.
>
For "some" reason "something" is putting '\xa0' to string.whitespace.
There is an old thread about this, but the problem was never fixed:
http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/13487
-Lukáš
More information about the bazaar
mailing list