TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

[BIG5] action error in 2.01.1

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
m8403051



Joined: 11 Sep 2016
Posts: 8

PostPosted: Thu Mar 30, 2017 9:14 pm    Post subject: [BIG5] action error in 2.01.1 Reply with quote

Dear:
Background: CentOS 6.8, tintin v2.01.1, charset BIG5

I got one issues that the action do not currect response in some action.

After checked, at least one Chinese word will cause that: "稅(0xB5,0x7C)
All the char after "稅" will not be checked and it will trigger the first action.
example:
#action {稅123} {#show 123}
#action {稅456} {#show 456}
#action {稅789} {#show 789}
#show {稅123}
>123
#show {稅456}
>123
#show {稅789}
>123
those 3 actions work fine in charset ascii,

by the way, word "許" "功 蓋" do not work in both ascii mode & big5 mode.
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3759

PostPosted: Thu Apr 06, 2017 7:21 pm    Post subject: Reply with quote

It's hard for me to test. I think this forum is in UTF-8 so I can't copy/paste to get BIG5.

I assume you correctly set #config charset BIG5

I have no idea what's causing this.
Back to top
View user's profile Send private message Send e-mail
m8403051



Joined: 11 Sep 2016
Posts: 8

PostPosted: Thu Apr 13, 2017 9:33 pm    Post subject: Reply with quote

I have put a simple big5 script file in
http://clovers.tw/big5.tt

in file, it only make 6 action and 2 alias, just type 1 or 2 to check the actions.

#act {稅官123} {#show 123}
#act {稅官456} {#show 456}
#act {稅官789} {#show 789}
#act {許} {#show A}
#act {功} {#show B}
#act {蓋} {#show C}

#alias {1} {#show {稅官123};#show {稅官456};#show {稅官789}}
#alias {2} {#show {許};#show {功};#show {蓋}}
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3759

PostPosted: Sun Apr 16, 2017 6:48 pm    Post subject: Reply with quote

That helped me test it Ecstatic Should be fixed now.

http://tintin.sf.net/download/tintin-beta.tar.gz

It wasn't properly escaping big5 in the regular expression pre-compiler. Embarassed
Back to top
View user's profile Send private message Send e-mail
m8403051



Joined: 11 Sep 2016
Posts: 8

PostPosted: Mon Apr 17, 2017 2:13 am    Post subject: Reply with quote

Thx!!
I think this issue is solved. Ecstatic
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group