wchar_t values

Masataka Ohta mohta at necom830.cc.titech.ac.jp
Fri Apr 12 12:39:22 AEST 1991


In article <1991Apr11.093836.10553 at tkou02.enet.dec.com>
	diamond at jit345.enet@tkou02.enet.dec.com (Norman Diamond) writes:

>>How can you be codeset independent by having ISO C addendum about 10646?

>The same way you can be word-size independent and still specify minimum
>values.

The, the same way, we can introduce a new type, say, is10646char_t, without
losing codeset independence. That is, if standard translation functions
between 10646 and other code systems are provided, the entire system
is codeset independent in the same manner.

>Well, almost the same way.  It is still worth standardizing a
>translation scheme to be used WHEN the character set is 10646.

There is a problem, when a system with 16 bit wchar_t want to use 10646.

Is it required for a strictly conforming system to follow the scheme
WHENEVER the character set is 10646?

If so, it is somewhat codeset independent. If not so, there will be
systems using 10646 in the different way from the standarized scheme,
which means that the standard is not a standard.

						Masataka Ohta



More information about the Comp.std.c mailing list