[Poppler-bugs] [Bug 53925] poppler feeds invalid UTF-8 to cairo

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 24 06:46:37 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=53925

--- Comment #1 from Adrian Johnson <ajohnson at redneon.com> 2012-08-24 13:46:37 UTC ---
The problem is that surrogate pairs are not decoded before converting to utf8.
The patch https://bugs.freedesktop.org/attachment.cgi?id=58178 (bug 46603
"convert utf-16 to ucs-4 when reading ToUnicode") fixes this issue by moving
all instances of the surrogate pair handling to where the UTF-16 characters are
read to ensure that the internal Unicode type contains only UTF-32 values.

-- 
Configure bugmail: https://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