Pelles C forum

Pelles C => Bug reports => Topic started by: benjaminmaggi on April 19, 2008, 10:00:52 AM

Title: Error Reading a source file: (UTF-16 Big Endian without BOM)
Post by: benjaminmaggi on April 19, 2008, 10:00:52 AM
While working on a project I discover that PellesC V5.0.0.4 Could not load one of my project files.
This particular source file is encoded with UTF-16 Big Endian whitout BOM mark.
The Application did not crash but warn me with a message.
I did check to see which code pages are supported by PellesC IDE:


Is it possible to add support for UTF-16 BE with or without BOM ?  ::)
Title: Re: Error Reading a source file: (UTF-16 Big Endian without BOM)
Post by: Pelle on April 20, 2008, 04:07:37 PM
Anything is possible, it's more a matter of importance. I may be wrong, but I'm not sure there are that many UTF-16 BE files floating around on Windows machines. Requiring a BOM in the C compiler, the resource compiler, and several other tools, simplifies the input code considerably. Possibly I could add UTF-16 BE (and more) to the IDE, so it would at least be possible to resave the file in a 'compiler friendly' encoding...