Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: airc on June 09, 2014, 08:20:45 pm
-
Hi
i made a simple .rc file (simple dialogbox) with ResEdit and save it with utf-8 (because i use unicode characters).
CodeBlocks pass the resource file to windres as code ascii , now i have to pass --codepage=65001 to windres in order to compile my unicode resource .
in CodeBlocks there is (use custom command to build this file) but it never works for me .
any idea ?
-
The simplest solution is to add the "--codepage=65001" after the windres command in the toolchain configuration.
The other option I can think of is editing the advanced compiler settings.
Tim S.
-
thank you , it works