Possible fix, and a new bug for [Re: self-hosting repo available]

Lele Gaifax lele at nautilus.homeip.net
Mon Apr 11 12:13:44 BST 2005

>>>>> "Andrew" == Andrew Bennetts <andrew at canonical.com> writes:

    Andrew> Here's a possible fix, with hackish test-case...

    Andrew> # Whatever _username() returns, try to turn
    Andrew> it into a unicode object.  + return
    Andrew> _username().decode(locale.getpreferredencoding()) + +def

Uhm, this should not be needed, AFAICT. I may be wrong, but the
problem was that his system did not setup the default encoding
appropriately. Python takes care of that, doing something equivalent
at a lower level.

ciao, lele.
nickname: Lele Gaifax	| Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas	| comincerò ad aver paura di chi mi copia.
email: lele at seldati.it	|		-- Fortunato Depero, 1929.

More information about the bazaar mailing list