when compiling: unsupported char 0xc2
Markku Sukanen
daikane at messiah.ath.cx
Tue Aug 19 01:45:46 PDT 2008
Got a "little" problem with source code and the characters/letters used
in it... And would like to know how to rectify this:
I'm usually using 'vim' (or 'gvim') for editing source codes, but now as
learning D as new language, came against a problem with '|' (the vertical
bar) in source code. Whenever dmd encounters a '|' in code (outside
string literals), it errors out with i.e.:
...somesource.d(84): unsupported char 0xc2
So, for now, have had to put i.e. "if (a == 2 || b == 3)" to separate if/
else's.
More information about the Digitalmars-d
mailing list