It would be vastly simpler to simply rule that .c .cc .h
etc, files are in utf-8 always, regardless of locale.
Well, you should not forget that the day you have UTF-8 accepted
in identifiers, you should have the following tools able to process
any UTF-8 char, including supposedly from keyboard (unless you
want to upset people with UCNs):
- standalone cpp
- as
- ld
- nm
- the bfd library, including all the cross-platforms problems
- the debuggers (all of them!)
- probably yacc/clone and lex/clone as well, since there is no
good reason to kept them with ASCII id.
- and all the ones I am missing
Antoine
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/