Skip to toolbar

Community & Business Groups

EXPath file module and BOM markers

On 16 July 2012 09:27, Michael Kay wrote:
On 14/06/2012 01:09, Christian Grün wrote:
Dear all,

a new version of the File Module is online:

    http://files.basex.org/modules/expath/file/file-120614.html

I've just returned to my uncompleted implementation and test suite for this module (the test suite is a lot more work than the implementation...).

I'm hitting problems knowing what to do about BOMs. Under what circumstances should a BOM be written?
Should they be used only with UTF-16, or also with UTF-8?
Should they be written only at the start of the file (i.e. append-X functions have to check whether the file is empty in order to decide whether to write a BOM?)
Michael Kay
Saxonica

Leave a Reply

Your email address will not be published. Required fields are marked *

Before you comment here, note that this forum is moderated and your IP address is sent to Akismet, the plugin we use to mitigate spam comments.

*