Re: Could someone run this program on a pc which does not have a standard english configuration



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.
.



Relevant Pages

  • Re: Unicode Support
    ... consider:)...but, you know, a file is still just a "stream of characters" ... "escape sequence" but accessing an ordinary ASCII character) are considered ... English, while all your identifiers are in "Romanji" Japanese or something ... NASM appears already to do so with strings and comments in ...
    (alt.lang.asm)
  • Re: Italian language in PIAZZA
    ... it would be hard to write it with the Italian ... characters speaking any kind of English. ... done is simply make Fabrizio's English a little better. ... This isn't like throwing in a little foreign language number, ...
    (rec.arts.theatre.musicals)
  • Re: Italian language in PIAZZA
    ... speaks to the audience in English, ... My trouble with the show's use of Italian is that it *doesn't* bring us ... closer to the story or characters. ...
    (rec.arts.theatre.musicals)
  • Re: David Dryden re: Levels of Functional Complexity
    ... the word "penny" in the English language system. ... specifically defined as five fully specified characters given an ... idea of penny across - such as the sequence pinny or piny or peny. ...
    (talk.origins)
  • Re: F is evil (was: XML::LibXML UTF-8 toString() -vs- nodeValue())
    ... Your source code consists of Unicode characters encoded in UTF-8 ... American institute to write English texts. ... encoding, whatever encoding it would have been. ... It could not be any other language. ...
    (comp.lang.perl.misc)