Results 1 to 4 of 4

Thread: not interpreting the & character

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2008
    Posts
    102
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question not interpreting the & character

    I write an xml file and i insert a text node using this function
    Qt Code:
    1. QDomDocument::createTextNode ( const QString & value );
    To copy to clipboard, switch view to plain text mode 

    I have the necessity to insert the '&' character into the "value" object....
    but when i look for the created xml file, it inserts '&' instead of the single '&'.
    Any idea??
    Last edited by dreamer; 14th June 2008 at 00:22.

Similar Threads

  1. printer the chinese character with QPrinter
    By trytoremeber963 in forum Qt Programming
    Replies: 0
    Last Post: 3rd June 2008, 08:42
  2. how to get last character of QLineEdit
    By yagabey in forum Qt Programming
    Replies: 1
    Last Post: 5th January 2008, 16:38
  3. Character from argument disappears
    By Pepe in forum Qt Programming
    Replies: 13
    Last Post: 19th June 2007, 23:48
  4. Determine if a font can display a character
    By jrideout in forum Qt Programming
    Replies: 1
    Last Post: 19th October 2006, 10:33
  5. Unicode Character Problem
    By prakash in forum Qt Programming
    Replies: 1
    Last Post: 11th May 2006, 07:25

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.