Results 1 to 4 of 4

Thread: QXmlStreamWriter UTF-16 Problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Aug 2009
    Posts
    52
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QXmlStreamWriter UTF-16 Problem

    Qt 4.6.0 + VS2008 + windows Xp sp3

    Qt Code:
    1. <?xml version="1.0" encoding="UTF-16"?>
    2. <!DOCTYPE backup>
    3. <Backup version="1.0">
    4. <Task name="MyName">
    5. <Description>My short description</Description>
    6. </Task>
    7. </Backup>
    To copy to clipboard, switch view to plain text mode 

    Qt Code:
    1. fffe 3c00 3f00 7800 6d00 6c00 2000 7600
    2. 6500 7200 7300 6900 6f00 6e00 3d00 2200
    3. 3100 2e00 3000 2200 2000 6500 6e00 6300
    4. 6f00 6400 6900 6e00 6700 3d00 2200 5500
    5. 5400 4600 2d00 3100 3600 2200 3f00 3e00
    6. 0a00 3c00 2100 4400 4f00 4300 5400 5900
    7. 5000 4500 2000 6200 6100 6300 6b00 7500
    8. 7000 3e00 0a00 3c00 4200 6100 6300 6b00
    9. 7500 7000 2000 7600 6500 7200 7300 6900
    10. 6f00 6e00 3d00 2200 3100 2e00 3000 2200
    11. 3e00 0a00 2000 2000 3c00 5400 6100 7300
    12. 6b00 2000 6e00 6100 6d00 6500 3d00 2200
    13. 4d00 7900 4e00 6100 6d00 6500 2200 3e00
    14. 0a00 2000 2000 2000 2000 3c00 4400 6500
    15. 7300 6300 7200 6900 7000 7400 6900 6f00
    16. 6e00 3e00 4d00 7900 2000 7300 6800 6f00
    17. 7200 7400 2000 6400 6500 7300 6300 7200
    18. 6900 7000 7400 6900 6f00 6e00 3c00 2f00
    19. 4400 6500 7300 6300 7200 6900 7000 7400
    20. 6900 6f00 6e00 3e00 0a00 2000 2000 3c00
    21. 2f00 5400 6100 7300 6b00 3e00 0a00 3c00
    22. 2f00 4200 6100 6300 6b00 7500 7000 3e00
    23. 0a00 0a
    To copy to clipboard, switch view to plain text mode 

  2. The following user says thank you to dbzhang800 for this useful post:

    27Loco (7th July 2010)

Similar Threads

  1. Readable Xml with QXmlStreamWriter
    By jano_alex_es in forum Newbie
    Replies: 8
    Last Post: 26th August 2009, 11:53
  2. Replies: 2
    Last Post: 26th August 2009, 10:18
  3. Adding elements with QXmlStreamWriter
    By hazardpeter in forum Newbie
    Replies: 4
    Last Post: 22nd August 2009, 12:45
  4. QXmlStreamWriter and attribute namespaces
    By TomasC in forum Qt Programming
    Replies: 0
    Last Post: 11th December 2008, 06:11
  5. Blank file using QXmlStreamWriter
    By sgmurphy19 in forum Qt Programming
    Replies: 4
    Last Post: 14th November 2007, 20:45

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.