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.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel