Hi,
this is working but I would like better solution:
function Decode_String($text)
{
$from = Array("Á", "á", "Č", "č", "Ď", "ď",
"É", "é", "Ě", "ě", "Í", "í", "Ň",
"ň", "Ó", "ó", "Ř", "ř","Š", "š",
"Ť", "ť", "Ú", "ú", "Ů", "ů", "Ý",
"ý", "Ž", "ž");
$to = Array("Á", "á", "Č", "č", "Ď", "ď", "
Bc. Radek Krejca wrote:
> 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 NNN are HTML-style symbolic entities. Take
> a PJ> look at htmlentities().
>
> This function
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 NNN are HTML-style symbolic entities. Take a
PJ> look at htmlentities().
This function encode strings, but I tried html_entit
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
>> > (t
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
Hello,
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 NNN are HTML-style symbolic entities. Take a
PJ> look at htmlentities().
Yes, youre right, my mistake, of course that
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 c
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.
Thank you
Radek
--
Regards,
Bc. Radek Krejca
ICQ:
8 matches
Mail list logo