Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Bug reports
➜ about trigger
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Softx
(4 posts) Bio
|
Date
| Fri 14 May 2004 04:54 AM (UTC) |
Message
| mushclient version above 3.26 does not work on chinese triggers. | Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 15 May 2004 02:28 AM (UTC) |
Message
| 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? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Softx
(4 posts) Bio
|
Date
| Reply #2 on Sat 15 May 2004 09:07 AM (UTC) |
Message
| 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¡£
| Top |
|
Posted by
| Nick Gammon
Australia (23,140 posts) Bio
Forum Administrator |
Date
| Reply #3 on Sat 15 May 2004 11:16 PM (UTC) |
Message
| 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). |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
11,981 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top