Menu

#78 Optional BOM checking/writing with OPEN ENCODING

open
nobody
compiler (117)
2012-10-09
2006-08-18
eanon
No

Could it be possible to do BOM signature checking be
optional when OPEN file for read access with
indication of an UTF-* ENCODING and BOM writing be
optional too when OPEN file for read/write.

This as proposed by v1ctor on the FreeBASIC forum
during the thread called 'How to handle UTF-8 files
without BOM signature' at
http://www.freebasic.net/forum/viewtopic.php?p=45948.

Here is the exact terms v1ctor used (quote) : "Open
with Encoding will always check the BOM, but i could
make it optional when opening for read access, but
when writing and opening for read/write access,
something like "utf-8,bom=opt" would be needed."

It would be nice, really.
Thanks in advance
Cordially

Eric

Discussion


Log in to post a comment.