Unicode issue on Windows cmd line

Albert Hopkins marduk at letterboxes.org
Wed Feb 11 20:35:56 CET 2009


On Wed, 2009-02-11 at 10:35 -0800, jeffg wrote:
> Having issue on Windows cmd.
> > Python.exe
> >>>a = u'\xf0'
> >>>print a
> 
> This gives a unicode error.
> 
> Works fine in IDLE, PythonWin, and my Macbook but I need to run this
> from a windows batch.
> 
> Character should look like this "ð".
> 
> Please help!

You forgot to paste the error.





More information about the Python-list mailing list