about trigger

Posted by Softx on Fri 14 May 2004 04:54 AM — 4 posts, 15,873 views.

#0
mushclient version above 3.26 does not work on chinese triggers.
Australia Forum Administrator #1
I am a bit surprised that Chinese text works at all. Can you paste a copy of the trigger (click the Copy button in the trigger list), and also some example text that the trigger should be matching on.

Are you using the Unicode (UTF-8) checkbox?
#2
here are two sample triggers:
========================
<triggers>
<trigger
enabled="y"
match="ÖÐÑë¹ã³¡ - "
sequence="100"
>
<send>say hi</send>
</trigger>
</triggers>
<triggers>
<trigger
enabled="y"
match=" ¡¸³àÁ·ÏÉ×Ó¡¹Àîγî(Li mochou)"
sequence="100"
>
<send>alias qq give du jing to li mochou</send>
</trigger>
</triggers>
========================

I tried to use the Unicode (UTF-8) checkbox, but the triggers still didn't work.
And after using the Unicode (UTF-8) checkbox, the chinese characters in output window can not be read even i set chinese fonts nor westen fonts.
My OS is Win2K & Win98se chinese version.
Here are some samples:

ÖÐÑë¹ã³¡ -
ÕâÀïÊdzÇÊеÄÕýÖÐÐÄ£¬Ò»¸öºÜ¿íÀ«µÄ¹ã³¡£¬ÆÌ×ÅÇàʯµØÃ档һЩÓÎÊÖºÃÏÐ
µÄÈËÔÚÕâÀïÁïÁï´ï´ï£¬¾­³£ÓÐÒÕÈËÔÚÕâÀï±íÑÝ¡£ÖÐÑëÓÐÒ»¿Ã´óéÅÊ÷£¬Å̸ù´í½Ú£¬¾Ý
´«ÒÑÓÐǧÄêµÄÊ÷Á䣬ÊÇÕâ×ù³ÇÊеÄÀúÊ·¼ûÖ¤¡£Ê÷¸Éµ×²¿ÓÐÒ»¸öºÜ´óµÄ¶´(shudong)¡£
Äã¿ÉÒÔ¿´µ½±±±ßÓÐÀ´×Ô¸÷µØµÄÐÐÈËÀ´À´ÍùÍù£¬ÄÏÃæÈËÉù¶¦·Ð£¬Ò»ÅÉ·±»ª¾°Ï󣬶«±ß
²»Ê±µØ´«À´ÀÊÀʵĶÁÊéÉù£¬Î÷±ßÔò¼û²»µ½¼¸¸öÐÐÈË£¬Ò»Æ¬Ëྲ¡£
¡¸Ñô´º¡¹: ҹĻµÍ´¹£¬ÂúÌì·±ÐÇ¡£
ÕâÀïÃ÷ÏԵijö¿ÚÊÇ south¡¢up¡¢west¡¢down¡¢north ºÍ east¡£
Australia Forum Administrator #3
I have discovered a couple of bugs in the routine which converts straight text to regular expressions. This particularly affected text with the high-order bit set, which was almost completely what you had.

Version 3.50 should work for you (not released quite yet).