inconsistency in using utf-8
| From: | Mathias Bank | Date: | Sun, 11 Feb 2007 21:28:26 +0000 |
| Subject: | inconsistency in using utf-8 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-28009@lists.php.net to get a copy of this message | ||
Hi,
there is a inconsistency in using utf-8.
If you use tiny_html (http://de2.php.net/manual/en/function.tidy-repair-string.php), you have to use "utf8" to encode your data in utf-8.
If you use html_entity_decode() (http://de2.php.net/manual/en/function.html-entity-decode.php), you have to use "UTF-8".
This difference is not necessary. Can it be possible to use one notation. With current implementation, you always has to look into the documentation, which notation you have to use.
Mathias