bumming cycles out of parse_identifier()...

Joseph S. Myers jsm28@cam.ac.uk
Mon Sep 10 11:14:00 GMT 2001


On Mon, 10 Sep 2001, Neil Booth wrote:

> If we're moving to UTF-8 like we claim, we don't need to worry about
> well-chosen step backs.  I'm thinking about a patch to introduce some
> kind of locale-based encoding conversion with iconv when we load a
> file, after some preliminary discussion with Bruno Haible and Marcus
> Kuhn.

For C++ there's also the requirement to convert source characters not in
the basic source character set to UCNs (a model that was present in some
C9X drafts, but changed before the release of C99 - I'm not sure why,
though I think non-intuitive results from e.g. stringising "$" came into
it).

For C will this (when proper multibyte support including wide strings, as
described in cpplib.html#charset, is present) follow the model of N951 for
fixing the defects of C99 in relation to string literals and
concatenation?

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list