how do I deal with special characters?

Eric Mesa ericsbinaryworld at gmail.com
Wed Jun 27 03:09:05 UTC 2012


got this error: Error FODC0002 in
tag:trolltech.com,2007:QtXmlPatterns:QIODeviceVariable:src, at line 1,
column 23816: Expected '#' or '[a-zA-Z]', but got ' '

Traced it to that column and the offending character  was an ampersand
(&).  My program is grabbing titles from an API that could have any
character.  How do I deal with this?

thanks!
--
Eric Mesa
http://about.me/ericmesa
http://www.ericsbinaryworld.com


More information about the Plasma-devel mailing list