On Mon, 07 Dec 2009, Szak�ts Viktor wrote:

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.

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

Reply via email to