Prev: How to alter the schema of a database to introducenewfeaturesor change the current features
Next: Stumped - MDB2 & pgsql
From: te0t3l on 15 Jul 2010 07:01 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
From: Richard Quadling on 15 Jul 2010 07:47 On 15 July 2010 12:01, te0t3l <te0t3l(a)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).
From: te0t3l on 15 Jul 2010 10:06
Thanks for your offer Richard, but I solved the problem deleting the UTF-8 encoding label in the XML file like this: before: <?xml version="1.0" encoding="utf-8"?> <label>....</label> after: <?xml version="1.0"?> |