Reputation: 457
I have the problem that some czech characters can not be displayed/printed properly in python. No matter which of the following version I use I always get a "?" when trying to print the character.
s1 = "č"
s2 = u"\u010D"
s3 = unicode(u'\u010D', "utf-8")
s4 = unicode('č', "utf-8")
What am I missing? I can print the characters ýýááíů but not ěščřřžž.
Thanks for the help.
Upvotes: 3
Views: 794