Re: HTML equivalents of accented characters
| From: | Liam Gibbs | Date: | Thu, 14 Aug 2003 14:05:36 +0000 |
| Subject: | Re: HTML equivalents of accented characters | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159577@lists.php.net to get a copy of this message | ||
> I have no idea what might be the problem, what does your translation table
> look like?
Mine is still coming out as a single character. Here's my code, in case
anyone can spot any stupid human error blunder I'm making:
$translationtable = get_html_translation_table(HTML_ENTITIES);
$string = htmlspecialchars($string);
Also, here's my setup, just in case:
PHP 4.3.1
Linux 2.2.19 #1 i586
Apache 1.3.27
MySQL 3.23.49 (don't know what this has to do with it, but just in case
there has been some interference with PHP and MySQL)
GD 2.0 compatible