[XeTeX] Use of BOM in XeTeX and TeXworks

2019-07-10 Thread Taylor, P
Two related questions, the second dependent on the answer to the first. 1. Is XeTeX happy with a BOM in UTF-8 files 2. Could TeXworks be enhanced to (a) recognise, and (b) insert if absent, a BOM in UTF-8 files ? The reason for my request is that while, on a day-to-day basis, I work solely

Re: [XeTeX] Use of BOM in XeTeX and TeXworks

2019-07-10 Thread David Carlisle
more readable than a BOM you can use an encoding comment as far as I can see for your use case eg as listed here https://www.texdev.net/2011/03/24/texworks-magic-comments/ On Wed, 10 Jul 2019 at 12:07, Taylor, P wrote: > Two related questions, the second dependent on the answer to the first.