Hi,

I get that the POSIX locale must be a single-byte character locale
where all 256 octets are characters. I’ve got a question about the
wide character representation.

Assuming my POSIX locale uses ASCII as encoding, I’ve got the whole
portable character set (and then some) in the first 128 codepoints,
which have the ASCII code as both octet SBCS value and wchar_t value.
In this scenario, is it permissible to map the other 128 codepoints
“high” i.e. to wchar_t values > 0x0100?

I’m reading the standard as yes, but not asking already landed me
in trouble in the past so I’d rather…

Thanks in advance,
//mirabilos
-- 
08:05⎜<XTaran:#grml> mika: Does grml have an tool to read Apple
     ⎜    System Log (asl) files? :)
08:08⎜<ft:#grml> yeah. /bin/rm. ;)       08:09⎜<mrud:#grml> hexdump -C
08:31⎜<XTaran:#grml> ft, mrud: *g*

  • encoding question Thorsten Glaser via austin-group-l at The Open Group

Reply via email to