NO

Author Topic: [Solved] Could not save auto-generated resource.h when default encoding is UTF-8  (Read 2608 times)

iZzz32

  • Guest
Pelles C 6.00.4, 32-bit Windows XP SP3.

• Tools->Options->General, set all “Default encoding” fields to UTF-8.
• File->New project, Win32 Program (EXE), any name, any empty project folder.
• File->New resources, right click “untitled” and add New->Dialog.
• Right click added item and go to properties.
• Set name to IDD_TEST.
• File->Save, test.rc and test.h.
• Error dialog appears saying that test.rc has invalid file format (screenshot attached).
 
I guess the problem appears when writing auto-generated .h file (test.h) and the default encoding for “Source files” is set to UTF-8 (ANSI and UTF-16LE are both OK).
« Last Edit: October 31, 2010, 07:26:51 PM by iZzz32 »