User forums > Using Code::Blocks

unicode resource file

(1/1)

airc:
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 ?


stahta01:
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.

airc:
thank you , it works

Navigation

[0] Message Index

Go to full version