[fpc-devel] first results of using fpc resources instead of lazarus resources

Giulio Bernardi ugilio at gmail.com
Tue Dec 1 09:41:48 CET 2009

Marco van de Voort ha scritto:
> On Mon, Nov 30, 2009 at 10:59:45PM +0100, Giulio Bernardi wrote:
>>>> perfectly now. Can it save without the BOM even if file had it before?
>>> Yes, that would be possible.
>>> But I think this should be fixed in fpcres. Otherwise windows
>>> users editing the lfm files will easily run into this error. 
>> Fixed in rev 14292.
>> I had to fix TParser too, since fcl-res uses ObjectTextToBinary to compile 
>> dfm/xfm/lfm files.
> Is this a single revision and do you think it is mergable?

Yes: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&revision=14292

It is very simple. If the UTF-8 bom is found at the beginning, it is skipped.
I think it shouldn't hurt: knowing that a file is utf-8 or not makes no 
difference for TParser.

More information about the fpc-devel mailing list