Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: skies457 on November 09, 2008, 04:56:19 am
-
I'm using ubuntu and codeblocks in China, and I found out that codeblocks doesn't seem to support chinese system well. After I install Chinese pack and the g++ has been translated into Chinese. When I compile a program in CodeBlocks, it marked a warning as a error, because the word "Warning" is written in Chinese. I have to press F9 again to run the program.
Is there a solution to slove my problem? Or I have to reinstall my g++?
Thanks.
-
The easiest way is to use an english environment for compiling inside C::B !
Go to "Settings -> Environment... -> Envirinment variables", add "LC_ALL" and set its value to "en_US" or "en_US.UTF-8" for example.
That only changes the environment variable inside C::B, your normal system will ot be touched.
The hard way would be to change the regexes C::B us in "Settings -> Compiler and debugger... -> Global compiler settings -> Other settings -> Advanced options... -> Output parsing".
But I don't know if the last possibility would work for chinese characters.
-
:D Thank you very much, my problem has been sloved.
But I still hope C::B can develop a Chinese version!