Author Topic: Cannot convert from the charset 'windows-874'!  (Read 3523 times)

Offline ansswd

  • Single posting newcomer
  • *
  • Posts: 3
Cannot convert from the charset 'windows-874'!
« on: December 11, 2005, 06:18:54 am »
Every times I run this program.
The dialog box,

Code::Blocks v1.0 Error
X  Cannot convert from the charset 'windows-874'!
   OK

appears.
???

I'm using WinXP, Borland C++ 5.5.1, Thailand, Sount East Asia.

Thanks in advance.
ansswd

   

Offline ansswd

  • Single posting newcomer
  • *
  • Posts: 3
Re: Cannot convert from the charset 'windows-874'!
« Reply #1 on: December 11, 2005, 06:20:03 am »
The program can run, just an annoying.

 :?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Cannot convert from the charset 'windows-874'!
« Reply #2 on: December 11, 2005, 11:05:20 am »
That's an error which is not issued by Code::Blocks, but by wxWidgets (it has no matching multibyte conversion class for that charset).
So there is unluckily little we can do about it.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: Cannot convert from the charset 'windows-874'!
« Reply #3 on: December 11, 2005, 11:23:54 am »
What about Unicode mode?

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Cannot convert from the charset 'windows-874'!
« Reply #4 on: December 11, 2005, 07:19:06 pm »
Sawatdee Khrab.

As you are woking with the thai charset (windows-874), I would suggest you (as Takeshi Miya did) to try with UNICODE (wxWidgets). This could probably solve your problem.

Michael