Message232015
If you open a text file for append, but then perform any form of seeking, before attempting to write to the file, it will cause the BOM to be written before you text. See the attached file for an example.
If you run the test, take a look at the output file, and you'll notice the UTF16 BOM gets written out before each number.
I'm running a 2014 iMac with Yosemite. |
|
Date |
User |
Action |
Args |
2014-12-02 16:41:42 | MarkIngramUK | set | recipients:
+ MarkIngramUK |
2014-12-02 16:41:42 | MarkIngramUK | set | messageid: <1417538502.93.0.814458445398.issue22982@psf.upfronthosting.co.za> |
2014-12-02 16:41:42 | MarkIngramUK | link | issue22982 messages |
2014-12-02 16:41:42 | MarkIngramUK | create | |
|