Use \uXXXX to refer unicode symbols 0.FFFF.The should be coding directive in your file.Unicode strings are declared with u'.' prefix. Read Joel Spolsky "About Unicode and Character Sets".UTF-8 uses 1 byte for latin and 2 bytes for non-latin.An algorithm how turn Unicode into bytes and read it back.User B receives the message without header on Windows (cp1251).The program should send a header with encoding, but it doesn't.Encode/decode errors, strange symbols instead of text.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |