[Bug 17151] New: How should UTF-16BE "\xD8\x00" be decoded? This is an ill-formed UTF-16 code unit sequence, but it can be converted to a Unicode code point. Firefox/Opera currently convert it to U+FFFD, which seems like the preferred behaviour.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17151

           Summary: How should UTF-16BE "\xD8\x00" be decoded? This is an
                    ill-formed UTF-16 code unit sequence, but it can be
                    converted to a Unicode code point. Firefox/Opera
                    currently convert it to U+FFFD, which seems like the
                    preferred behaviour.
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#the
                    -input-byte-stream
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: other Hixie drafts (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org


Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#the-input-byte-stream
Complete: http://www.whatwg.org/c#the-input-byte-stream

Comment:
How should UTF-16BE "\xD8\x00" be decoded? This is an ill-formed UTF-16 code
unit sequence, but it can be converted to a Unicode code point. Firefox/Opera
currently convert it to U+FFFD, which seems like the preferred behaviour.

Posted from: 81.110.227.73 by geoffers@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like
Gecko) Chrome/20.0.1130.1 Safari/536.11

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 22 May 2012 17:15:52 UTC