Author Topic: codeblocks 10.5 don't support Chinese ???  (Read 5830 times)

Offline yhwdao

  • Single posting newcomer
  • *
  • Posts: 5
codeblocks 10.5 don't support Chinese ???
« on: August 28, 2010, 04:26:50 am »
I've choosen UTF-8 file encoding , but it doesn't display Chinese well ....
How do I solve this problem? :(
(I'm using the windows version 10.5)

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: codeblocks 10.5 don't support Chinese ???
« Reply #1 on: August 28, 2010, 02:08:39 pm »
1. Please use "Windows 936" instead "UTF-8"
2. If you use ANSI, please add option "-finput-charset=gbk"

Offline yhwdao

  • Single posting newcomer
  • *
  • Posts: 5
Re: codeblocks 10.5 don't support Chinese ???
« Reply #2 on: August 29, 2010, 09:13:59 am »
1. Please use "Windows 936" instead "UTF-8"
2. If you use ANSI, please add option "-finput-charset=gbk"

where to add the option "-finput-charset=gbk" in windows version ?

Offline xunxun

  • Almost regular
  • **
  • Posts: 187
Re: codeblocks 10.5 don't support Chinese ???
« Reply #3 on: August 29, 2010, 09:23:13 am »
1. Please use "Windows 936" instead "UTF-8"
2. If you use ANSI, please add option "-finput-charset=gbk"

where to add the option "-finput-charset=gbk" in windows version ?

Project-Build options-other options
Regards,
xunxun

Offline yhwdao

  • Single posting newcomer
  • *
  • Posts: 5
Re: codeblocks 10.5 don't support Chinese ???
« Reply #4 on: September 02, 2010, 01:06:30 am »
1. Please use "Windows 936" instead "UTF-8"
2. If you use ANSI, please add option "-finput-charset=gbk"
I've chosen "Windows 936" , that seems work.
But when I reopen the file ,it still do not display Chinese will...