<br><br><div class="gmail_quote">On Wed, Feb 11, 2009 at 4:10 PM, Benjamin Kaplan <span dir="ltr"><<a href="mailto:benjamin.kaplan@case.edu">benjamin.kaplan@case.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div class="Ih2E3d">On Wed, Feb 11, 2009 at 3:57 PM, "Martin v. Löwis" <span dir="ltr"><<a href="mailto:martin@v.loewis.de" target="_blank">martin@v.loewis.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Having issue on Windows cmd.<br>
>> Python.exe<br>
>>>> a = u'\xf0'<br>
>>>> print a<br>
><br>
> This gives a unicode error.<br>
><br>
> Works fine in IDLE, PythonWin, and my Macbook but I need to run this<br>
> from a windows batch.<br>
><br>
> Character should look like this "ð".<br>
><br>
> Please help!<br>
<br>
Well, your terminal just cannot display this character by default; you<br>
need to use a different terminal program, or reconfigure your terminal.<br>
<br>
For example, do<br>
<br>
chcp 1252<br>
<br>
and select Lucida Console as the terminal font, then try again.<br>
<br>
Of course, this will cause *different* characters to become<br>
non-displayable. </blockquote></div><div></div></div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote">
<div><br>Well,</div></div></blockquote><div><br>Whoops. Didn't mean to hit send there. I was going to say, you can't have everything when Microsoft is only willing to break the programs that average people are going to use on a daily basis. I mean, why would they do something nice for the international community at the expense of breaking some 20 year old batch scripts? Those were the only things that still worked when Vista first came out.<br>
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Regards,<br>
Martin<br>
<font color="#888888">--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div></div><br>
</blockquote></div><br>