NO

Author Topic: Cannot compile UTF-8 source  (Read 3243 times)

larryli

  • Guest
Cannot compile UTF-8 source
« 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.

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: Cannot compile UTF-8 source
« Reply #1 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).
/Pelle

zrj99

  • Guest
Re: Cannot compile UTF-8 source
« Reply #2 on: April 01, 2009, 01:35:02 PM »
Just insert some comment line before first line, it's may be OK.