[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  International
. . -> [Subject]  The trigger not support chinese?or unicode?
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

The trigger not support chinese?or unicode?

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Theart   (7 posts)  [Biography] bio
Date Mon 03 Nov 2003 04:50 AM (UTC)

Amended on Mon 03 Nov 2003 04:51 AM (UTC) by Theart

Message
when the patters write in chinese, can't be matched, and english works well.zmud works both well, but mushclient show perfectly!
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Tue 04 Nov 2003 03:55 AM (UTC)
Message
I think the trigger matching does not support UTF-8. However MUSHclient itself does not really support Unicode, there are lengthy posts on this forum about why this is so.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Theart   (7 posts)  [Biography] bio
Date Reply #2 on Tue 04 Nov 2003 04:39 AM (UTC)
Message
is it possible to support it in next mushclient version?
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Tue 04 Nov 2003 04:53 AM (UTC)
Message
No. Sorry. My earlier post explained that, far from being a simple change, it would be thousands and thousands of lines of code, and weeks if not months of work. Basically a rewrite.

Unicode would be primarily of interest to non-English speakers, and to put it into perspective, I recently asked for non-English speakers on this forum to respond to a survey.

Only two people responded, and of those two one was an American who was interested in the idea (and who speaks French) and the other was from Greece.

To be honest, it isn't cost-effective for me to spend months making changes to a program that might result in one or two $20 shareware registrations. To say nothing of the bugs that would creep in after major changes, and which would probably result in further months of work fixing them.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Theart   (7 posts)  [Biography] bio
Date Reply #4 on Tue 04 Nov 2003 05:01 AM (UTC)
Message
thanks for your reply.
but, the input line now support uncicode. i think the output windows is same as the input windows?only make the output windows support unicode is not very hard.maybe that should make the trigger supoort unicode. this is my prefer
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Tue 04 Nov 2003 06:36 AM (UTC)
Message
Hmm - strangely enough I got bogged down on making the input window support Unicode. The output window is easy enough, I think.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Theart   (7 posts)  [Biography] bio
Date Reply #6 on Thu 06 Nov 2003 05:33 AM (UTC)
Message
you can have a beta test on the output box!input box is works well in chinese,:-) when i input chinese cmommand it show it well in both input box and output box, but when select the word in output box, it become ....can't show well. i think it because the output box don't support unicode. it is easy to make output box support unicode, maybe trigger will works well also!!!
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Thu 06 Nov 2003 09:57 PM (UTC)
Message
Can you make a screen capture of that? I would be interested to see. The Chinese text in the input and output window I mean.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Theart   (7 posts)  [Biography] bio
Date Reply #8 on Fri 07 Nov 2003 01:17 AM (UTC)
Message
ok, i send it to you mailbox, i don't know how to send picture here.
[Go to top] top

Posted by Theart   (7 posts)  [Biography] bio
Date Reply #9 on Fri 07 Nov 2003 02:12 AM (UTC)

Amended on Fri 07 Nov 2003 02:19 AM (UTC) by Theart

Message
test how to pick a link

false 3 times. fanit

look the link yourself

http://final.our365.net/mud/bbs/show.asp?id=2882&bd=72

a forum for shenzhou mud.
[Go to top] top

Posted by Shadowfyr   USA  (1,783 posts)  [Biography] bio
Date Reply #10 on Fri 07 Nov 2003 03:53 AM (UTC)
Message
Actually this is not a big surprise. Even if you designed the output control your own way, if you used any form of MS form, textbox, etc. as a base, then it automatically enherits the ability to 'show' unicode. However, all the stuff you impliment in your own application needs to also be aware of it to use it properly.
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #11 on Fri 07 Nov 2003 07:52 PM (UTC)
Message
Fascinating - works better than I expected. It must be using UTF-8 encoding because MUSHclient stores text internally as 8-bit characters.

There is an option with the newer version of the regular expression engine to have UTF-8 support, I have added the suggestion of implementing that as suggestion #502.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Theart   (7 posts)  [Biography] bio
Date Reply #12 on Sat 08 Nov 2003 10:18 AM (UTC)
Message
ok, thank you! you done a great thing!

here is another client and opensource, maybe useful for you.it support chinese well!when select word in its output box it select the whole words not the "half" words as the mushclient done now.

http://ytin.sourceforge.net/index_e.html
[Go to top] 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,564 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]