Compiling files not encoded with system settings

2006-05-24 Thread Nicolas De Rico
Hello, A few weeks ago, I posted on the general GCC mailing-list an issue that arises when compiling with GCC on Linux files created on Windows and saved in "unicode". The problem seems to be that when CPP reads a source file, it uses the parameter passed with the -finput-charset option or L

Re: Compiling files not encoded with system settings

2006-05-25 Thread Nicolas De Rico
Ross Ridge wrote: Nicolas De Rico wrote: The file hi-utf16.c, created with Notepad and saved in "unicode", contains a BOM which is, in essence, a small header at the beginning of the file that indicates the encoding. It's not a header that indicates the encoding. It&