User forums > General (but related to Code::Blocks)

none english code in codeblocks, became unreadable code??

(1/2) > >>

zaazbb:
when my c++ code have chinese character, CodeBlock save file as UTF8 automatically,
 so my chinese character now is unreadable code. how to change it??

when i change file encode to window936, gcc compiler meet errors.??

How can i use none english code in codeblocks???

huzhongshan:
I use chinese as "string" , donot meet such things.

ollydbg:

--- Quote from: zaazbb on December 18, 2011, 04:42:33 am ---so my chinese character now is unreadable code. how to change it??

--- End quote ---
Why?
You save your file in UTF8, and you should read/open it in UTF8.

playxiaobaicai:
I think you had better use English! After all, it's a English IDE.

Jenna:

--- Quote from: zaazbb on December 18, 2011, 04:42:33 am ---when my c++ code have chinese character, CodeBlock save file as UTF8 automatically,
 so my chinese character now is unreadable code. how to change it??

when i change file encode to window936, gcc compiler meet errors.??

How can i use none english code in codeblocks???

--- End quote ---
Where is the code unreadable ?
Should be readable in C::B, if it is opened as utf-8.

Navigation

[0] Message Index

[#] Next page

Go to full version