Skip to main content
June 16, 2008
Answered

Problem with XML Encoding when displayed

  • June 16, 2008
  • 1 reply
  • 309 views
I had decided to use XML file instead of a database because the customer did not have a database in is web hosting package. But I encounter a weird problem where information are not well displayed but they are well recorded! The customer use french characters as the web site is in french and english and any special characters outside the first 128 characters of ASCII will not be displayed correctly. I do not know exactly what to do at this level where the XML file is perfect (and I can see the special characters correctly). I tried to use the CFPROCESSINGDIRECTIVE but it does nothing at all to correct the display.

If anybody have an idea while I still searching thought the web something to resolve this issue, please let me know.

Here is an example of what I am talking about:

The word "traîneau" will be displayed "traîneau".
    This topic has been closed for replies.
    Correct answer
    I found why!!!! The original XML file has been manually modified and this screw the file for some reason. When using the process to create the XML file and than use it after as it has been created, all special characters are correctly displayed.

    In conclusion, never manually modify your XML file!!! ;-))

    1 reply

    Correct answer
    June 16, 2008
    I found why!!!! The original XML file has been manually modified and this screw the file for some reason. When using the process to create the XML file and than use it after as it has been created, all special characters are correctly displayed.

    In conclusion, never manually modify your XML file!!! ;-))