« Bugzilla Issues Index
#2347 — 10.1.2 Incorrect UTF16Decode
- bug_id:
2347
- creation_ts:
2013-12-08 17:03:00 -0800
- short_desc:
10.1.2 Incorrect UTF16Decode
- delta_ts:
2014-05-30 18:38:11 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 21: November 8, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
VERIFIED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Norbert
- assigned_to:
Allen Wirfs-Brock
- commentid:
6884
- comment_count:
0
- who:
Norbert
- bug_when:
2013-12-08 17:03:14 -0800
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.
- commentid:
7347
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-02-17 11:10:38 -0800
fixed in rev23 editor's draft
- commentid:
7525
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-06 11:29:39 -0700
fixed in rev23 draft
- commentid:
8698
- comment_count:
3
- who:
Norbert
- bug_when:
2014-05-30 18:38:11 -0700
Verified in rev 25 draft.