Beginner: problems with the win packages
John Arbash Meinel
john at arbash-meinel.com
Thu Nov 9 03:58:49 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marcos Chaves wrote:
> Hi John,
>
> just a quick update: now I'm trying the 0.12.0 source distribution. I
> applied your patch, but it didn't work. I changed the code to print
> what is in _cached_user_encoding, and it prints 'cp1252', which seems
> to be fine - it doesn't print 'cp0'. I just upgraded to Python 2.5
> too, and the problem persists.
>
> I hope this helps,
>
> -Marcos
Can you try:
python -c "import sys; print sys.stdout.encoding"
Because it sounds like that may be giving 'cp0'.
Which would mean we want to change 'bzrlib/osutils.py' the function
'get_terminal_encoding()'.
I really wish I understood where python is getting this information. But
in the short term we can try to work around it.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFUqd5JdeBCYSNAAMRAgceAJ9ct3uQCEIuMF6KVlnyr/rEpFz92wCeLIYi
bX5Jlb05xwcyTmqauYXEv1M=
=IFoX
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list