Re: [OT?] Coding Style

Kai Henningsen (kaih@khms.westfalen.de)
25 Jan 2001 15:33:00 +0200


steveu@coppice.org (Steve Underwood) wrote on 24.01.01 in <3A6E2C6E.632CDABF@coppice.org>:

> Unfortunately the C standards people don't seem to realise there are
> languages other than English. C99 had perfect timing to introduce UTF8
> Unicode as acceptable in C source. Alas they missed the boat. I have
> been embedding Chinese in C source for years (mostly Big-5 - UTF8 is
> more likely to be troublesome with existing compilers), and have yet to
> hit a significant problem. It isn't standards compliant, though.

Have you *READ* the C99 standard? According to my copy of ISO/IEC
9899:1999, chinese characters in identifiers are quite legal.

And the source is not defined to be UTF8 because C has never defined the
source to be any specific character set; if your character set does not
include the right characters, use \uXXXX or \Uxxxxxxxx.

MfG Kai
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/