Re: ANSI to ISO-8859-2

From: Date: Fri, 19 Sep 2008 08:39:30 +0000
Subject: Re: ANSI to ISO-8859-2
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-280484@lists.php.net to get a copy of this message
Robert Cummings wrote: > On Fri, 2008-09-19 at 09:39 +0200, Per Jessen wrote: >> 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(). > > http://en.wikipedia.org/wiki/ANSI_art > > You may be too young to have known ;) I'm 43 - but I never really got much into the BBS world. I think I first encountered ANSI escape sequences on DEC VT100 terminals sometime in the mid-80s. I've even still got a working VT100 somewhere :-) /Per Jessen, Zürich

« previous php.general (#280484) next »