Bc. Radek Krejca wrote: > Hello, > > I get from webservice strings like this: > > Česko anglické gymnázium > > I think, that is ANSI, but how to convert it to something else (the > best is iso-8859-2). I am trying iconv function, but ANSI parameter > is not supported. ANSI is not a character set, it's a standards organisation. You may have meant ASCII, and the string does look as if it could be ASCII. The sequences like &#xNNN are HTML-style symbolic entities. Take a look at htmlentities(). /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php