{"id":11,"date":"2012-07-17T13:16:11","date_gmt":"2012-07-17T13:16:11","guid":{"rendered":"http:\/\/www.w3.org\/community\/expath\/?p=11"},"modified":"2012-07-17T13:16:11","modified_gmt":"2012-07-17T13:16:11","slug":"expath-file-module-and-bom-markers","status":"publish","type":"post","link":"https:\/\/www.w3.org\/community\/expath\/2012\/07\/17\/expath-file-module-and-bom-markers\/","title":{"rendered":"EXPath file module and BOM markers"},"content":{"rendered":"<div>On 16 July 2012 09:27, Michael Kay wrote:<\/div>\n<div>On 14\/06\/2012 01:09, Christian Gr\u00fcn wrote:<\/div>\n<pre>Dear all,\r\n\r\na new version of the File Module is online:\r\n\r\n    <a href=\"http:\/\/files.basex.org\/modules\/expath\/file\/file-120614.html\" target=\"_blank\" rel=\"nofollow\">http:\/\/files.basex.org\/modules\/expath\/file\/file-120614.html<\/a>\r\n\r\nI've just returned to my uncompleted implementation and test suite for this module (the test suite is a lot more work than the implementation...).\r\n\r\nI'm hitting problems knowing what to do about BOMs. Under what\u00a0circumstances should a BOM be written?\r\nShould they be used only with UTF-16, or also with UTF-8?\r\nShould they be written only at the start of the file\u00a0(i.e. append-X functions have to check whether the file is empty in order to\u00a0decide whether to write a BOM?)\r\nMichael Kay\r\nSaxonica<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>On 16 July 2012 09:27, Michael Kay wrote: On 14\/06\/2012 01:09, Christian Gr\u00fcn wrote: Dear all, a new version of the File Module is online: http:\/\/files.basex.org\/modules\/expath\/file\/file-120614.html I&#8217;ve just returned to my uncompleted implementation and test suite for this module (the &hellip; <a href=\"https:\/\/www.w3.org\/community\/expath\/2012\/07\/17\/expath-file-module-and-bom-markers\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2710,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[1],"tags":[],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.w3.org\/community\/expath\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.w3.org\/community\/expath\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.w3.org\/community\/expath\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.w3.org\/community\/expath\/wp-json\/wp\/v2\/users\/2710"}],"replies":[{"embeddable":true,"href":"https:\/\/www.w3.org\/community\/expath\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":2,"href":"https:\/\/www.w3.org\/community\/expath\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":13,"href":"https:\/\/www.w3.org\/community\/expath\/wp-json\/wp\/v2\/posts\/11\/revisions\/13"}],"wp:attachment":[{"href":"https:\/\/www.w3.org\/community\/expath\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.w3.org\/community\/expath\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.w3.org\/community\/expath\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}