Results 1 to 2 of 2

Thread: Read XML shift-jis encoded with Dom problem

  1. #1
    Join Date
    Oct 2011
    Posts
    9
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Smile Read XML shift-jis encoded with Dom problem

    I created an application to convert data from old format to new one throught xml.
    I packed my app into an excutable file and installed on some other PCs.
    Everything is ok when xml files are encoded by utf8.

    But when xml files are encoded by shift-jis there 's a problem with reading japanese text on some PCs that don't be installed Qt.

    I have searched in the forum, on the internet but nothing helpful.

    Any ideas regarded!
    Thanks!

    Qt Code:
    1. <?xml version='1.0' encoding='shift-jis' standalone='yes' ?>
    To copy to clipboard, switch view to plain text mode 

    PS: my OS is win 7

  2. #2
    Join Date
    Oct 2011
    Posts
    9
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default [Solved] Read XML shift-jis encoded with Dom problem

    After many working days, i solved my problem!

    Deployment-windows.html

    I added some plugins into my app and everything is ok!

    Qt Code:
    1. qApp->addLibraryPath("C:/customPath/plugins");
    To copy to clipboard, switch view to plain text mode 

    "customPath/plugins" = "c:\Qt\4.7.3\plugins\codecs" on my PC.

Similar Threads

  1. Key Press Event and Shift key problem
    By Teefs in forum Qt Programming
    Replies: 7
    Last Post: 18th April 2011, 09:39
  2. convert ampersand encoded HTML into something readable
    By tetsuoii in forum Qt Programming
    Replies: 5
    Last Post: 24th October 2010, 18:49
  3. Window Shift problem in Qt4.3.4
    By santosh.kumar in forum Qt Programming
    Replies: 0
    Last Post: 5th July 2010, 05:37
  4. Send Base64 encoded data
    By rmagro in forum Qt Programming
    Replies: 6
    Last Post: 29th October 2007, 16:58
  5. Replies: 3
    Last Post: 26th July 2006, 13:41

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.