Re: Converting strings to match multiple charsets
| From: | Torsten Roehr | Date: | Wed, 30 Jun 2004 21:07:58 +0000 |
| Subject: | Re: Converting strings to match multiple charsets | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189370@lists.php.net to get a copy of this message | ||
"Red Wingate" <redeye@erisx.de> wrote in message
news:20040630181828.24201.qmail@pb1.pair.com...
> [...]
> > Can't you use utf8_decode() to display the utf8 encoded data?
> [...]
>
> The displayed data worked out fine for some languages but others didn't
> and even simple german chars like äöü won't show up correctly within
> a textarea.
Hi Red,
I'm actually working on a project as well at the moment that uses utf8 data
in MySQL. All chars should be OK when output with utf8_decode(). Do the
chars only look wrong within textarea or also outside of form elements?
>
> [...]
> > Is this what you're looking for?:
> >
> > http://de2.php.net/manual/en/function.html-entity-decode.php
> [...]
>
> [quote](PHP 4 >= 4.3.0, PHP 5)[/quote]
>
> This won't work on most servers we're hosting our CMS on .... :-/
Too bad.
Torsten