I had a similar problem recently, but was not able to work with it in PHP
tho. The array for that mapped characters to their entity turned out to be
HUGE and it took forever to evaluate long XML files.
I ended up killing several birds with one stone by wrapping the html-tidy
utility (tidy.sourcefo
-", "°" => "°", "±" => "±", "-" =>
"–", """ => "“", """ => "”","..." => "…","'" =>
"‘","²" =>"²",&qu
On Sun, 3 Aug 2003 21:51:53 -0400 (EDT), you wrote:
>Im using PHP to write to XML files, but I am having some problems. A lot
>of users are cutting and pasting content from text editors like word,
>which uses odd quotation marks, dashes, etc. which PHP writes to the XML
>file, and then the XML par
3 matches
Mail list logo