Re: inconsistency in using utf-8

From: Date: Thu, 15 Feb 2007 19:12:47 +0000
Subject: Re: inconsistency in using utf-8
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-28041@lists.php.net to get a copy of this message
Mathias Bank wrote: > 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. libtidy has a limited set of supported charsets, which is defined within the library, so we can't do anything about that. http://php.net/tidy_set_encoding -- Michael

« previous php.internals (#28041) next »