PJ> ANSI is not a character set, it's a standards organisation. You may PJ> have meant ASCII, and the string does look as if it could be ASCII. PJ> The sequences like &#xNNN are HTML-style symbolic entities. Take a PJ> look at htmlentities(). This function encode strings, but I tried html_entity_decode, but withut success. So I have to make conversion table with all characters :-(. -- S pozdravem, Bc. Radek Krejca ICQ: 65895541 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php