2010/3/5 Dave Angel <da...@ieee.org> I'm not angry, and I'm sorry if I seemed angry. Tone of voice is hard to > convey in a text message.
Ok, sorry. I've misunderstood your mail :D > I'm still not sure whether your confusion is to what the rules are, or why > the rules were made that way. WHY the rules are made that way. But now it's clear. 2010/3/6 Mark Tolonen <metolone+gm...@gmail.com <metolone%2bgm...@gmail.com> > > > Maybe this will help: > > # coding: utf-8 > > a = "ciao è ciao" > b = u"ciao è ciao".encode('latin-1') > > a is a UTF-8 string, due to #coding line in source. > b is a latin-1 string, due to explicit encoding. > Oh, right. And, if i'm not wrong B is an UTF8 string decoded to unicode (due to the coding: statement at the top of the file) and re-encoded to latin1 > -Mark Thankyou again Giorgio -- -- AnotherNetFellow Email: anothernetfel...@gmail.com
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor