archives

« Bugzilla Issues Index

#2347 — 10.1.2 Incorrect UTF16Decode


The algorithm for UTF16Decode in 10.1.2 has two problems:

- Step 2 is not only useless, but also refers to a variable that's not defined yet.

- Step 3 is missing the addition of 65536 (0x10000) to form the final cp value.


fixed in rev23 editor's draft


fixed in rev23 draft


Verified in rev 25 draft.