when compiling: unsupported char 0xc2

Markku Sukanen daikane at messiah.ath.cx
Tue Aug 19 05:34:24 PDT 2008


Tue, 19 Aug 2008 14:12:56 +0200, Frank Benoit wrote:

> Markku Sukanen schrieb:
>> Hmm, after checking my source code and my own post to this newsgroup
>> with a hexedit, I think it's not just editor issue... there's an
>> invisible "0xC2" character following the 2nd '|' in my own post and the
>> source code...
>> 
>> Not a D, issue. Heh, sry - should've thought checking the hexdump
>> earlier.
> 
> check the encoding vim uses
> D accepts either ascii (<=127) or unicode.
> 
>   :set encoding=utf-8

Ah! Thanks, that fixed it.



More information about the Digitalmars-d mailing list