On Sunday 09 August 2009 08:33:46 Omer Zak wrote: > > i found that in my case is selected iso 8859-1 western and i see that > > there are 2 hebrew encodings iso-8859-8 hebrew visually ordered and > > iso-8859-8-1 hebrew logically ordered. which one should I choose? > > Neither. Choose utf-8 and ensure that the other side chose utf-8 as > well. > If you MUST choose one of the two Hebrew encodings, choose iso-8859-8i > (logically ordered).
Choose cp-1255, as it has a larger range of Hebrew support, if it's possible. Now, I have talked with the Kopete developers a few years ago and they explained to me why ICQ gives us so much troubles. It seems that when a message is sent in ICQ one of it's headers describes the encoding the in which this message is encoded. Ok, so far so good. However, most of the messages/clients (not sure about it) are sent in encoding number 3, which means "use your locale". So, Alice has LC_CTYPE=he_IL.cp-1255 and sends a hebrew message to Bob (which used LC_CTYPE=C) and if the message is in encoding "3", this means the encoding is LC_CTYPE. Pretty much fucked up, IMHO. Nice to have a menu which overrides it. Well... more or less, as in windows you don't really have LC_CTYPE... and I am not sure if the borked encoding number is "3"... but you get the idea. Please use unicode when developing new applications/protocols. Transfer the text sing UTF-8. Or die, slowly and use putty on Windows95 to read your email from your Linux box by deciphering the packets read by tcpdump. _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il