CnPack Forum


 
Subject: 英文winxp下Delphi 7的中文处理
amonw
新警察
Rank: 1



UID 44146
Digest Posts 0
Credits 7
Posts 2
点点分 7
Reading Access 10
Registered 2009-10-27
Status Offline
Post at 2009-11-4 05:30  Profile | Blog | P.M. 
英文winxp下Delphi 7的中文处理

英文winxp中,如果Regional and Language Options的Standards and formats是English(United States),dfm中的中文以单字节保存,如“中文”保存为#214#208#206#196,如果Standards and formats是Chinese(PRC),dfm中的中文以双字节保存,如“中文”保存为#20013#25991。启用cnWinzards后不管设成什么都使用双字节保存中文。如果原来Standards and formats是English(United States),启用cnWizards后IDE中原来项目的中文显示为乱码,在IDE中输入中文,编译出来的程序运行时显示中文为乱码。
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2009-11-11 18:09  Profile | Site | Blog | P.M. 
试一下这个选项:

菜单项:CnPack => 设置,“环境设置”页面里,把“使用 SetThreadLocale 修正...”选项关闭,能否解决?




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
jAmEs_
灌水部部长
Rank: 8Rank: 8



Medal No.1  
UID 886
Digest Posts 0
Credits 1134
Posts 600
点点分 1134
Reading Access 10
Registered 2005-6-5
Location 广东
Status Offline
Post at 2009-11-18 17:46  Profile | Blog | P.M. 
CnPack有这样的功能?
Top
amonw
新警察
Rank: 1



UID 44146
Digest Posts 0
Credits 7
Posts 2
点点分 7
Reading Access 10
Registered 2009-10-27
Status Offline
Post at 2009-12-4 01:51  Profile | Blog | P.M. 
我在CnPack->设置->环境设置中找不到这个选项,我的CnPack版本:Ver: 0.9.4.547 Build 2009.09.14,应该是最新版本。请看截屏:

[ Last edited by  amonw at 2009-12-4 01:53 ]


Image Attachment: [截屏] cnpack.JPG (2009-12-4 01:53, 57.59 K)

Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2009-12-4 13:51  Profile | Site | Blog | P.M. 
请下载最新的build版本





Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
wutao0808
新警察
Rank: 1



UID 44900
Digest Posts 0
Credits 2
Posts 1
点点分 2
Reading Access 10
Registered 2009-12-11
Status Offline
Post at 2009-12-11 16:00  Profile | Site | Blog | P.M. 
嗯,学习一下




Top
 




All times are GMT++8, the time now is 2024-11-23 05:26

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.009107 second(s), 10 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP