Pelmen napisaĆ(a): > but socket will raise an exception if it'll be in cp1251 I am not a socket programming expert, but I didn't notice anything strange when sending utf-8 or latin2 texts over sockets. -- Jarek Zgoda http://jpa.berlios.de/