CnPack Forum


 
Subject: 代码助手 中文变量的问题
yimen
新警察
Rank: 1



UID 11874
Digest Posts 0
Credits 21
Posts 9
点点分 21
Reading Access 10
Registered 2007-4-26
Status Offline
Post at 2007-4-26 09:23  Profile | Blog | P.M. 
代码助手 中文变量的问题

delphi 2006 2007已经支持中文变量 代码助手会出现乱码 应该UTF8Decode一下

[ 本帖最后由 yimen 于 2007-5-8 15:22 编辑 ]


Image Attachment: cnpack.JPG (2007-5-8 15:22, 12.74 K)

Top
kendling (小冬)
高级版主
Rank: 8Rank: 8
MyvNet


Medal No.1  
UID 703
Digest Posts 5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
Post at 2007-4-26 12:26  Profile | Site | Blog | P.M.  | QQ | Yahoo!
这个问题好像已经处理了,麻烦楼主下载最新的每日构建版试试?




小冬
http://MyvNet.com
Top
yimen
新警察
Rank: 1



UID 11874
Digest Posts 0
Credits 21
Posts 9
点点分 21
Reading Access 10
Registered 2007-4-26
Status Offline
Post at 2007-4-26 16:14  Profile | Blog | P.M. 
0.8.2.310_Unstable Build 2007.04.24 还是不行
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2007-4-26 16:17  Profile | Blog | P.M. 
这帖子里头提到的问题已经修改过了:
http://bbs.cnpack.org/viewthread.php?tid=1551

不过我们改的是变量值内容,恐怕变量名没改,需要再转换一下变量名。
Top
kendling (小冬)
高级版主
Rank: 8Rank: 8
MyvNet


Medal No.1  
UID 703
Digest Posts 5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
Post at 2007-4-26 21:36  Profile | Site | Blog | P.M.  | QQ | Yahoo!
对,是需要再处理一下变量名。




小冬
http://MyvNet.com
Top
yimen
新警察
Rank: 1



UID 11874
Digest Posts 0
Credits 21
Posts 9
点点分 21
Reading Access 10
Registered 2007-4-26
Status Offline
Post at 2007-4-27 09:36  Profile | Blog | P.M. 
期待中
Top
yimen
新警察
Rank: 1



UID 11874
Digest Posts 0
Credits 21
Posts 9
点点分 21
Reading Access 10
Registered 2007-4-26
Status Offline
Post at 2007-4-28 13:59  Profile | Blog | P.M. 
期待中
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2007-4-28 15:51  Profile | Blog | P.M. 
这个还没有想象中的那么容易。变量值可以utf8转,但变量名我们是通过pas的语法解析器来的,现在的解析器还不太好支持中文变量名,光转UTFDecode还会出其他问题。
Top
Elever
新警察
Rank: 1



UID 2257
Digest Posts 0
Credits 34
Posts 18
点点分 34
Reading Access 10
Registered 2006-6-13
Status Offline
Post at 2007-4-28 16:48  Profile | Blog | P.M. 
呵呵,这样的话看提交日志都能学到不少东西
还有,刘总,昨天那个问题我又截了个图回复了
好像没人注意到哇~~~
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2007-4-28 23:25  Profile | Blog | P.M. 
图我看到了,不过因为不是Debug版的缘故,对定位有价值的东西不多。
给我个油箱,有空我build一个debug版本发给你再试一试吧?
Top
yimen
新警察
Rank: 1



UID 11874
Digest Posts 0
Credits 21
Posts 9
点点分 21
Reading Access 10
Registered 2007-4-26
Status Offline
Post at 2007-5-8 15:00  Profile | Blog | P.M. 
期待中

期待中
Top
yimen
新警察
Rank: 1



UID 11874
Digest Posts 0
Credits 21
Posts 9
点点分 21
Reading Access 10
Registered 2007-4-26
Status Offline
Post at 2007-5-11 14:06  Profile | Blog | P.M. 
期待中

期待中
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2007-5-11 15:51  Profile | Blog | P.M. 
不好意思,这个改动暂时不好改,要修改语法分析器的源码。
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 2007-5-11 19:59  Profile | Site | Blog | P.M. 
暂时先修改了助手列表中显示和输出中文标识符的功能

输入中文时自动弹出助手的功能涉及到比较复杂的修改,暂时先不改动,等有时间再改。
请关注下一个自动构建版本的发布并帮助我们测试。




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



UID 11874
Digest Posts 0
Credits 21
Posts 9
点点分 21
Reading Access 10
Registered 2007-4-26
Status Offline
Post at 2007-5-13 12:32  Profile | Blog | P.M. 
感谢

十分感谢
Top
Passion (LiuXiao)
管理员
Rank: 9Rank: 9Rank: 9


UID 359
Digest Posts 19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
Post at 2007-5-14 09:20  Profile | Blog | P.M. 
Top
xjw100
灌水科科长
Rank: 3Rank: 3


UID 1476
Digest Posts 0
Credits 134
Posts 74
点点分 134
Reading Access 10
Registered 2005-12-13
Location 桂林
Status Offline
Post at 2007-5-23 17:44  Profile | Blog | P.M. 
用中文变量多别扭呀。
Top
kendling (小冬)
高级版主
Rank: 8Rank: 8
MyvNet


Medal No.1  
UID 703
Digest Posts 5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
Post at 2007-5-28 11:40  Profile | Site | Blog | P.M.  | QQ | Yahoo!
对,超不喜欢。
以喜欢设计数据库时用中文字段名,这是超麻烦的事情。
早就怕了。




小冬
http://MyvNet.com
Top
 




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

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

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