Re: Problem when adding special characters to an XML file
| From: | Richard Quadling | Date: | Thu, 15 Jul 2010 11:47:35 +0000 |
| Subject: | Re: Problem when adding special characters to an XML file | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306907@lists.php.net to get a copy of this message | ||
On 15 July 2010 12:01, te0t3l <te0t3l@gmail.com> wrote:
> Hi again,
>
> Now I download the editing XML file and open it in windows with notepad and
> save with utf-8 encode, then upload the file again and can see the correct
> characters, what's the problem? I'm specifying the correct encoding when
> process the form and editing the XML file:
>
> $XML = new DOMDocument('1.0', 'UTF-8');
>
> Any idea please...
> Thanks,
>
> te0
>
Can you do a binary comparison between the 2 files (assuming you have
an original).
FC file1.xml file2.xml /b
Or can you zip them both and I can take a look at them for you (email
me directly).