Defect Report #091
Submission Date: 03 Dec 93
Source: Clive Feather
Item 28 - multibyte encodings
Does a locale with the following encoding of multibyte characters
conform to the C Standard?
The 99 characters of the basic execution character set have
codes 1 to 99, in the order mentioned in subclause 220.127.116.11 (so 'A'
== 1, 'a' == 27, '0' == 53, '!' == 63, '\n'
The extended execution character set consists of 16,256 (127
* 128) two-byte characters.
For each two-byte character, the first
byte is between 1 and 127 inclusive, and the second byte is between
128 and 255 inclusive.
Note that any sequence of bytes can unambiguously be broken into multibyte
characters, but the basic characters are prefixes of other characters.
The hypothetical locale described does conform to the C Standard
because the specified encoding does not violate the requirements
imposed on multibyte characters by subclause 18.104.22.168. No additional
requirements are needed.
Previous Defect Report
< - >
Next Defect Report