0 Replies Latest reply: Oct 4, 2010 9:03 AM by Ivars91 RSS

    XML encoding UTF-8 and accents

    Ivars91 Community Member

      hello everybody !

       

      a little problem with my xml file,

      ===========

      <?xml version="1.0" encoding="UTF-8"?>
      <videoData>

      <video1
             thumbtitle = "Soirs de fêtes - défilé de mode"     
             buffTime = "2"
             header = "my description"
             >flv/video1.flv</video1>
      </videoData>

      ===========

      my problem : no accent appears in my flash, and the result is : Soirs de ftes - dfil de mode

      I read a lot of articles on different forums regarding the good encoding, it seems that <?xml version="1.0" encoding="UTF-8"?> is the good one

      so I don't understand what is wrong.

       

      I also use .txt file in other part of my website in flash, and I also have the same problem

      I suppose it is in the actionscript I must write something :

      ===========

      myLoadVars = new LoadVars();
      myLoadVars.onLoad = function() {
      myText.htmlText = myLoadVars.myHTMLdata;
      };
      myLoadVars.load("page1Text.txt");

      ============

      Can somebody help me ?

      thanks in advance for your help

      Françoise