About xmldoc and ISO-8859-1
| From: | Patrick Gelin | Date: | Mon, 22 Nov 2004 06:36:29 +0000 |
| Subject: | About xmldoc and ISO-8859-1 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-202648@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to make DRES project (http://sourceforge.net/projects/dres/)
compliant with ISO-8859-1. I'm not using mbstring into my windows 2000
server, I know there is problem with Internet Explorer browser...
I saw DRES it use 'xmldoc' API into the file xmlutil.php. But this fonction
seems not to be in use at this time. By the way I can't find any
documentation about UTF-8, ISO-8859-1 and so about XMLDOM API.
What I saw it's when I save a formula with DRES, it register a XML file, and
the content is:
<?xml version="1.0"?>
<requirement identifier="aaaaaaaa"
name="àààà"
priority="high" status="draft"><revision date="2004-11-19
13:14:45"
label=""><author id="gelinp">Patrick
Gelin</author><comment></comment></revision><description>驩</descripti
on></requirement>
The name filed was originaly:
name='àààà'
I don't know if it's UTF-8 or ISO-8859-1 format.
When the formula refresh it show:
name='Ã Ã Ã Ã '
Where does this come from? Is it a problem with XMLDOM API? How to correct
this?
Thank.