[cfe-dev] Almost there...

Eli Friedman eli.friedman at gmail.com
Sat Jun 6 16:54:56 PDT 2009


On Sat, Jun 6, 2009 at 3:48 PM, Neil Booth<neil at daikokuya.co.uk> wrote:
> AlisdairM(public) wrote:-
>
>> Reason I am thinking about this now is what does a d-char mean for a
>> char32_t string?  Assuming we can read a UTF32 formatted source file, those
>
> You should be able to assume the basic character set is single byte;
> both C and C++ require this.  So no UTF32 source files.

I don't see any connection between the basic character set and the
encoding of the source file.

> Something else to think about: how you track source locations if you
> iconv the whole file upfront.

Source locations ought to just point into the converted buffer, I
think; we don't need to know the byte offsets in the original file.

-Eli




More information about the cfe-dev mailing list