Code::Blocks Forums

User forums => Help => Topic started by: Hirogens on July 29, 2011, 09:48:06 am

Title: Some problem with caracteres
Post by: Hirogens on July 29, 2011, 09:48:06 am
Hi,

I use C::B since 3 weeks, ans it's a real good software.

but I have just an little probleme.
in the "Build Log" and "Build messages" many crazy caracteres are display

My OS       : Seven 64Bits
C::B          :10.05
Chain tools : Cygwin

(http://www.hirogens.com/ErrorDrawing.jpg)


If you have a solution

B.Regards
Hirogens
From France
Title: Re: Some problem with caracteres
Post by: Freem on July 29, 2011, 10:24:08 am
My OS       : Seven 4Bits
4bits?
Wow, it should be a very old OS :D

To be serious, it's an encoding problem (but I guess you know that). Do you have the same in command line compiling? I think yes, as the problem seems to be the compiler, not C::B itself. Compiler or sources.

I think the problem is that your source files are in an exotic encoding, and you will have to convert them.
I ran into the same problem one day.
The software I used to do the conversion was notepad++, but it was horribly long and boring... using an UI to do same manipulations on near 20 files... I hope to never have to do the same with big projects. (Or hope to find a batch tool to do this)
Title: Re: Some problem with caracteres
Post by: oBFusCATed on July 29, 2011, 10:37:27 am
I think the problem is that your source files are in an exotic encoding, and you will have to convert them.
Probably it something with the cygwin's locale settings, not the source files.

I ran into the same problem one day.
The software I used to do the conversion was notepad++, but it was horribly long and boring... using an UI to do same manipulations on near 20 files... I hope to never have to do the same with big projects. (Or hope to find a batch tool to do this)
Probably you need to learn about "iconv"
Title: Re: Some problem with caracteres
Post by: Hirogens on July 29, 2011, 10:56:09 am
Hi,

Ok for the cygwin's locale settings.

but where can I change this ?? which  file ?


in $LANG I have LANG=C.UTF-8 for information.

B.Regards