[Poppler-bugs] [Bug 24890] pdftohtml -xml produces invalid XML markup

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 4 01:45:40 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=24890





--- Comment #4 from Reece H. Dunn <msclrhd at gmail.com>  2009-11-04 01:45:39 PST ---
The text is being written out on line 651 of utils/HtmlOuputDev.cc for xml
(there are other cases for simple and complex html outputs, not to mention the
places in the other output formatters). The line is:

      fputs(str1->getCString(),f);

where str1 is a GooString. This assumes that what is returned from getCString()
is in the correct encoding (i.e. the one that has been requested by the output
stream).


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list