« Bugzilla Issues Index

#505 — 8.4: There's no "Unicode code unit"

8.4 The String Type includes the statement "each element in the String is treated as a Unicode code unit value". There is no "Unicode code unit". Unicode defines three different encoding forms, UTF-8, UTF-16, and UTF-32, and each one uses different code units, namely of 8, 16, or 32 bits.

This should refer to UTF-16 code units.

corrected in editor's draft

fixed in rev10, Sept. 27 2012 draft

Verified in rev 26 draft.