[Tutor] strings using Czech language characters
Leon Williams
gsumalenurse at yahoo.com
Sun May 24 05:31:07 CEST 2009
Hello,
I wish to make a dictionary of english to czech words. I thought I would first see if python will print a czech character. I used the example in the tutorial (it uses a euro symbol, and a different iso character set so I changed mine to include a character set that includes eastern european characters). My results follow:
>>> # -*- coding: iso_8859-2 -*-
>>> cz_c = u"č"
Unsupported characters in input
here is a link that shows that iso 8859-2 includes lower case c with hacek - č
http://en.wikipedia.org/wiki/ISO-8859-2
I would appreciate any help, thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090523/3e104552/attachment.htm>
More information about the Tutor
mailing list