Menu

Unicode encoding for translation files

2007-02-01
2012-11-14
  • Hung Nguyen

    Hung Nguyen - 2007-02-01

    Hi,

    I try to translate the shortcuts.xml file (and eventually creating a new nativeLang.xml) to Vietnamese. Vietnamese language can be specified in Unicode with UTF-8 encoding. There is no encoding specification in shortcuts.xml file. Saving shortcuts.xml in default ANSI encoding format would result in non-readable labels for menu items (as expected). When I tried to save shortcuts.xml as UTF-8 encoding format, Notepad++ could not load the shortcuts. What is the solution?

    If I were to translate the file english.xml to Vietnamese, what should I specify for the XML encoding?

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

    Will UTF-8 work as above? Will the file also need to be saved as UTF-8 encoding? Would Notepad++ be able to read UTF-8 encoded file for nativeLang.xml?

    Thanks,

    _Hung_

     
    • Pathum Herath

      Pathum Herath - 2008-07-23

      I have the same issue.. Anyone pls reply..