Unicode operators

Jarrett Billingsley jarrett.billingsley at gmail.com
Wed Oct 22 18:48:45 PDT 2008


On Wed, Oct 22, 2008 at 9:01 PM, Thomas Moran <no at spam.plx> wrote:
> Since C++ permits unicode identifiers I actually did some experiments a few
> months ago to see what the compiler support was like. The conclusion was
> that only MSVC9 can deal with them, GCC4 and ICC10 (EDG I suppose) both
> choked. You can actually call a variable "αβγ" in VC9 and the program
> compiles. There's unfortunately some confusion over whether UTF-8 encoded
> files should have a BOM - MSVC doesn't parse them properly if they don't,
> but GCC chokes on the BOM. I think this would have to be either specified or
> handled flexibly in D front ends.

The D spec already defines compiler behavior in respect to BOMs or the
lack thereof.


More information about the Digitalmars-d mailing list