News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

[Sloved][BUGS]Problem in Ubuntu with Chinese pack.

Started by skies457, November 09, 2008, 04:56:19 AM

Previous topic - Next topic

skies457

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.

Jenna

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.

skies457

 :D Thank you very much, my problem has been sloved.
But I still hope C::B can develop a Chinese version!