News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

codeblocks 10.5 don't support Chinese ???

Started by yhwdao, August 28, 2010, 04:26:50 AM

Previous topic - Next topic

yhwdao

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)

Loaden

1. Please use "Windows 936" instead "UTF-8"
2. If you use ANSI, please add option "-finput-charset=gbk"

yhwdao

Quote from: Loaden 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"

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

xunxun

Quote from: yhwdao on August 29, 2010, 09:13:59 AM
Quote from: Loaden 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"

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

Project-Build options-other options
Regards,
xunxun

yhwdao

Quote from: Loaden 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"
I've chosen "Windows 936" , that seems work.
But when I reopen the file ,it still do not display Chinese will...