Pelles C forum

Pelles C => Bug reports => Topic started by: larryli on March 05, 2008, 05:56:39 PM

Title: Cannot compile UTF-8 source
Post by: larryli on March 05, 2008, 05:56:39 PM
I save the source file as utf-8(no BOM) encoding with chinese charactor. The error message is:
D:\Projects\src\package.c(1): fatal error #1065: Failed converting input using codepage 936.
But I do not want converting.
Title: Re: Cannot compile UTF-8 source
Post by: Pelle on March 06, 2008, 04:07:14 PM
The IDE can handle UTF-8 files without a BOM, but the compiler and most other tools require a BOM (for now at least - this is a work in progress, and may change in the future).
Title: Re: Cannot compile UTF-8 source
Post by: zrj99 on April 01, 2009, 01:35:02 PM
Just insert some comment line before first line, it's may be OK.