12 Replies Latest reply on Jun 27, 2009 10:16 PM by Spacer98

    XML encoding UTF-8

    Spacer98 Level 1

      Hello

       

      I need to load an xml with some special characters, I do the following:

       

      objXML = new XML();
      objXML.onLoad = getLoaded;
      objXML.load("xml.xml");

       

      xml.xml file:

      <?xml version="1.0" encoding="utf-8"?>

      .....

       

      I tried also : <?xml version="1.0" encoding="iso-8859-7"?> ..

       

      In the text fields that I did embending the text field is empty, no characters at all. In the text fields that I didnt put embed they say : undefined. When i remove the special characters from the xml is working orite.

       

      Can someone tell me what I do wrong?