Author Topic: Some problem with caracteres  (Read 3229 times)

Offline Hirogens

  • Multiple posting newcomer
  • *
  • Posts: 17
Some problem with caracteres
« 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




If you have a solution

B.Regards
Hirogens
From France
« Last Edit: July 29, 2011, 10:53:16 am by Hirogens »

Offline Freem

  • Almost regular
  • **
  • Posts: 219
Re: Some problem with caracteres
« Reply #1 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)
« Last Edit: July 29, 2011, 10:28:50 am by Freem »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Some problem with caracteres
« Reply #2 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"
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Hirogens

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Some problem with caracteres
« Reply #3 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