Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 希望【INI读写单元生成向导】类增加支持操作UTF-8格式
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 希望【INI读写单元生成向导】类增加支持操作UTF-8格式
wfymqj
灌水科科长
UID 1023
Digest Posts 0
Credits 178
Posts 70
点点分 178
Reading Access 10
Registered 2005-9-6
Location 湖北
Status Offline
#1
Post at 2022-5-24 10:28
Profile
|
Blog
|
P.M.
希望【INI读写单元生成向导】类增加支持操作UTF-8格式
希望【INI读写单元生成向导】类增加支持操作UTF-8格式。
目前【INI读写单元生成向导】生成的代码是TIniFile类,有时候读取UTF-8格式INI有问题。
希望可以新增1个向导,INI采用TMemIniFile类,这样可以操作UTF-8格式INI.
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2022-5-24 13:59
Profile
|
Blog
|
P.M.
最新版本已经是TMemIni类了。可以下1090 unstable尝试一下?
wfymqj
灌水科科长
UID 1023
Digest Posts 0
Credits 178
Posts 70
点点分 178
Reading Access 10
Registered 2005-9-6
Location 湖北
Status Offline
#3
Post at 2022-5-24 17:03
Profile
|
Blog
|
P.M.
用1090 unstable试了,确实是TMemIni类,感谢!
wfymqj
灌水科科长
UID 1023
Digest Posts 0
Credits 178
Posts 70
点点分 178
Reading Access 10
Registered 2005-9-6
Location 湖北
Status Offline
#4
Post at 2022-5-24 17:06
Profile
|
Blog
|
P.M.
现在1090 unstable产生的是Ini := TMemIniFile.Create(FileName); 不知道这样对读UTF-8有没有用。
我自己用的Ini := TMemIniFile.Create(FileName,TEncoding.UTF8);这个。
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#5
Post at 2022-5-26 10:36
Profile
|
Blog
|
P.M.
低版本Delphi没有TEncoding,估计要手工改生成的源码了。
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 01:28
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007323 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