Thread: NSIS 3.0b2
View Single Post
Old 27th October 2015, 00:54   #11
Senior Member
aerDNA's Avatar
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
"You cannot see the BOM because it has zero-width" - It's what made the issue sneaky - string would seemingly be what you expect it to be but the code that processes it could mysteriously fail (if you did proper testing and realized it at all). Glad to see that's now taken care of, old behavior was asking for trouble.

Regarding FileWriteUTF16LE, I think as long as there's a switch now, it's no longer an issue. Weighing pros and cons of /BOM vs /NoBOM is not something I can contribute to, I trust your judgement, but either way, appropriate usage will be coders' responsibility and there won't be any justified complaints since it's documented.

aerDNA is offline   Reply With Quote