Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» CnPack中cnvcl_20100101中的多语言控件bug
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: CnPack中cnvcl_20100101中的多语言控件bug
everything
新警察
UID 45451
Digest Posts 0
Credits 20
Posts 7
点点分 20
Reading Access 10
Registered 2010-1-7
Status Offline
#1
Post at 2010-1-7 18:12
Profile
|
Blog
|
P.M.
CnPack中cnvcl_20100101中的多语言控件bug
在使用此控件时,如果使用的语言种类为韩语或者泰语等语言。会出现乱码??????
我看了一下里面的代码,生成的ini文件和加载ini文件时,默认使用的ANSI编码格式。
所以,导致乱码,可以在生成ini文件时和读取ini文件时使用Unicode或者UTF-8格式。
这样就解决这个问题了。
unit CnHashLangStorage;
的第 196行。
可以改成 List.LoadFromFile(S,TEncoding.Unicode);
保存文件的代码,我没有找到。
everything
新警察
UID 45451
Digest Posts 0
Credits 20
Posts 7
点点分 20
Reading Access 10
Registered 2010-1-7
Status Offline
#2
Post at 2010-1-20 16:02
Profile
|
Blog
|
P.M.
老大,这个问题能做改吗?难道没有人用这个控件?在unicode环境下?delphi2010
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#3
Post at 2010-1-20 17:17
Profile
|
Blog
|
P.M.
正在修改,改为语言文件支持UTF8格式的。
everything
新警察
UID 45451
Digest Posts 0
Credits 20
Posts 7
点点分 20
Reading Access 10
Registered 2010-1-7
Status Offline
#4
Post at 2010-1-23 22:05
Profile
|
Blog
|
P.M.
谢谢,改好之后,就可以使用了,期待中。。。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#5
Post at 2010-2-1 12:16
Profile
|
Blog
|
P.M.
已经改好了。
如果您可以使用SVN的话,可从我们的SVN上获取最新代码来试一试。
http://code.google.com/p/cnpack/
everything
新警察
UID 45451
Digest Posts 0
Credits 20
Posts 7
点点分 20
Reading Access 10
Registered 2010-1-7
Status Offline
#6
Post at 2010-2-15 01:25
Profile
|
Blog
|
P.M.
谢谢。多谢各位的辛苦。
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 06:46
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008290 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats