Date: 07/23/02
- Next message: Jonas Mariλ: "[PHP-I18N] php + gettext tutorial"
- Previous message: a.h.s. boy: "[PHP-I18N] htmlentities() and charset"
- In reply to: a.h.s. boy: "[PHP-I18N] htmlentities() and charset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
A . H . S . Boy wrote:
> If I submit the Greek text, it goes into my MySQL database just fine. To
> display it, I'm calling
>
> nl2br(htmlentities($body,ENT_COMPAT,'ISO-8859-7'));
>
> and the result in my browser is
>
> Υπάρχουν ιστορικά...
>
> (Random Latin 1 accented characters, not Greek).
>
> If, however, I change the htmlentities() call to htmlspecialchars(),
> still with the character set specified, it renders properly in my
> browser, in Greek.
>
> Is this a bug in htmlentities? I'm using PHP 4.2.2, just released, so if
> it's a bug, it hasn't been fixed yet.
Pointer must be pointing somewhere eles or like...
Search Bug DB and if it's not fixed, submit bug with
short & complete script.
-- Yasuo Ohgaki-- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Jonas Mariλ: "[PHP-I18N] php + gettext tutorial"
- Previous message: a.h.s. boy: "[PHP-I18N] htmlentities() and charset"
- In reply to: a.h.s. boy: "[PHP-I18N] htmlentities() and charset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

