[Tutor] UTF-8 character

Evidenca B d.o.o. info at evidenca.si
Wed Aug 11 15:18:27 CEST 2010


Hi.

I have a problem. I am making pa program which, makes a .txt  document, the
problem is in my language have special character like this: č,š,ž. They don
t appear in aschi code, but you can find them in UTF-8 code. So wen I wont
to save with writelines a string with one of those characters in tells me
that I have to have string or that some of the characters don't appear in
ashi.
I don't know how to solve this problem, pleas help me.

THX 
Karmen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100811/38c6bc22/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bg.jpg
Type: image/jpeg
Size: 3066 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20100811/38c6bc22/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flowers.jpg
Type: image/jpeg
Size: 2249 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20100811/38c6bc22/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stampa_girl_line_en.gif
Type: image/gif
Size: 46417 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/tutor/attachments/20100811/38c6bc22/attachment-0001.gif>


More information about the Tutor mailing list