- 积分
- 22893
- 明经币
- 个
- 注册时间
- 2008-5-30
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|

楼主 |
发表于 2014-1-20 14:07:34
|
显示全部楼层
大家都没空,只好发信给 "LEE_MAC".
他真的很热心,很快就回给我了!
我的邮件:
——————————————————————————————————————————
dear sir:
since we find the routine "bfind" you created for long time , we covet it very much , but it can't work in our program.
in this forum "http://bbs.mjtd.com/
we call you "master lee-mac"
we have three thread discuss the routine “bfind”,
http://bbs.mjtd.com/thread-91921-1-1.html
http://bbs.mjtd.com/thread-93134-1-1.html
http://bbs.mjtd.com/thread-109050-1-1.html
some people try to modify the routine so it can work in our CAD, but fail , everybody is feel disappointed.
this routine is so beautiful , why it just can't work in "chinese language"
after many failure; I decide search help from you , you creat this routine , you are the best one to change it .
would you spare some time to help me with this . everybody in our forum(bbs) will be very happy!
Best Regards
pan liang
from kunming yunnan china
17-01-2014
________________
他的回信如下:
——————————
Dear pan liang,
Thank you for your kind message.
I appreciate your compliments for my program and I am honoured that you discuss my programming on your Chinese forums!
Unfortunately however, I don't think it is possible (or at least, it is beyond my ability as a programmer) to modify the BFind program to enable compatibility with Chinese (Unicode) characters. Since AutoLISP is only compatible with the standard ASCII character set, the program would need to represent all Unicode input using their equivalent code points in ASCII format (e.g. U+00AB), before performing the required find & replace operation, whilst also accounting for conflict with MText formatting codes.
Sorry to disappoint!
Kind Regards,
Lee
——————————————————————————
他说“不好弄啊,对不起”!
这下我也只有死心了!
但我找到了另一个批量查找替换的程序,也是国外写的,能查英文字符并替换,能查到中文字符,但不能替换,这就不明白了,按理说,如果能查到中文字符了,替换也就很简单了。
这个程序查到中文字符的时候并不能替换,但你可以看到带有相应中文字符的文件已经被保存了,说明它已经查到了,只是无法进行替换而已。
把程序发出来,供大家研究一下,肯定有什么关键点没处理,否则怎么会无法处理中文呢?
命令是REID,必须把程序路径添加到支持文件路径中。
另外,上次lee_mac说他不是我们的会员,无法看到我们的文字,能不能邀请他一下呢,做个VIP什么的!
http://bbs.mjtd.com/forum.php?mod=attachment&aid=ODEyNzV8MmI3MTY1ZDBlYmU0OGJkYWRhZDNlMWRkMjYwMjY4ZDF8MTc0ODE2Mjc0Nw%3D%3D&request=yes&_f=.rar
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|