Tuesday, October 22, 2019

UTF-16 LE with BOM and compiler errors, warning: null character(s) ignored

By some fluke, the source code which I had edited on Windows got saved on github as UTF-16 LE with BOM (as reported by Geany). This was not compiling on Linux, which gave lots of warnings,

warning: null character(s) ignored

Googling got the UTF to UTF convertor on www.fileformat.info which converted the file properly to UTF-8. Problem solved.

No comments:

Post a Comment