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 188.8.131.52 (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 184.108.40.206. No additional
requirements are needed.
Previous Defect Report
< - >
Next Defect Report