Re: Could someone run this program on a pc which does not have a standard english configuration
- From: "Douglas A. Gwyn" <DAGwyn@xxxxxxxx>
- Date: Fri, 16 Jun 2006 18:48:50 GMT
anywherenotes@xxxxxxxxx wrote:
It would help me a lot, if someone who has their PC configured in some
character different from English, such as Chinese or Japanese, not
latin or anything similar to English. And than posted the results
for (i = 0; i < 256; i++)
printf("%c: %d\n", i, i);
Please don't post such results here. The output obviously
is highly platform dependent, and even in English contexts
will print radically different output when run where the
native codeset is EBCDIC rather than ASCII. Even in ASCII
environments, the characters displayed when the 0x80 bit
is set vary widely from platform to platform. So you
don't even need to use a non-English environment to know
that there will be differences. In many Japanese and
Chinese environments, multibyte encodings are used for
the native-language characters, and on some older platforms
"code pages" are used, so what you see depends on what code
page is currently mapped.
So the purpose of this experiment seems rather muddled.
If you want to know something about programming for an
international environment, all you can learn from such an
experiment is that that is not the way to achieve it.
.
- Follow-Ups:
- References:
- Prev by Date: Re: Wording glitch: sizeof array vs. sizeof (array)
- Next by Date: Re: Wording glitch: sizeof array vs. sizeof (array)
- Previous by thread: Could someone run this program on a pc which does not have a standard english configuration
- Next by thread: Re: Could someone run this program on a pc which does not have a standard english configuration
- Index(es):
Relevant Pages
|