[Webkit-unassigned] [Bug 22166] HTML entities for surrogate pair codepoints cause rendering issues

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 25 09:49:49 PST 2008


https://bugs.webkit.org/show_bug.cgi?id=22166





------- Comment #12 from jshin at chromium.org  2008-11-25 09:49 PDT -------
Firefox synthesizes a glyph of a rectangle with a 4-digit or 6-digit
hexadecimal codepoint in it for a character it cannot find a font for. (Up to
Firefox2, only Linux version did that, but beginning with Firefox3, the same is
done on Windows and Mac OS X).

 However, for an unpaired surrogate codepoint, it must NOT do that. I'll alert
to them about this issue. Instead, they should show U+FFFD in its place (or
another representation of an error in the input). Note that it does replace 
the UTF-8 representation of an unpaired surrogate codepoint by U+FFFD. The same
must be done for UTF-16. 

I think the encoding error should be fixed before reaching the
measuring/drawing text. 


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list