Hi,

>> I was trying to compile a .prg which contained UTF-8 chars 
>> in strings, and it so happened that my editor added unicode 
>> signature (BOM) to the .prg file, causing this compile error:
>> ---
>> Harbour 2.0.0beta3 (Rev. 13091)
>> Copyright (c) 1999-2009, http://www.harbour-project.org/
>> Compiling 'sh.prg'...
>> sh.prg(1) Error E0030  Syntax error "syntax error at '´╗┐'"
>> 1 error
>> ---
>> Would it be possible to accept input files with unicode BOMs?
> 
> yes but I wanted to join these modification with compile time
> support for code pages.
> Anyhow if it's important then now I can add small code which will
> simply strip UTF-8 signature from compiled .prg files.

If it's not huge effort and don't make later modification 
harder, I think it would be nice, as it'd open the way to 
make experiments with such source files.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to