 |
pigpig2 Newbie
Joined: 15 Aug 2009 Posts: 6 Location: Hong Kong
|
Posted: Sat Aug 15, 2009 5:59 am
Chinese characters support in CMUD ?! |
Hello,
I am currently using CMUD (v2.37 and v3.08) in a Taiwan MUD. Unfortunately I met some problem when creating alias & triggers which included Chinese characters. Please check & advise.
(1) Will CMUD be developed to support double-byte characters or Unicode ?
(2) Some Chinese characters is shown as illegible single byte characters are editing and it's difficult to check and edit afterwards ;
(3) Some Chinese characters are recognized as illegal characters in zScript, such as '[', '{',..etc and is not allowed to create or triggers can not be fired properly. Is there a way to avoid the characters to be parsed as illegal characters or commands ?
(4) The parsing language is default as zScript, could it be changed to others ?
(5) If I change the scripting language to XML, the triggers is not fired. How does it affect the triggers ?
Thanks to check and advise.
Best regards  |
|
|
 |
pigpig2 Newbie
Joined: 15 Aug 2009 Posts: 6 Location: Hong Kong
|
Posted: Sat Aug 15, 2009 8:32 am |
By the way, one more thing,
(6) When I export the alias & trigger to XML and import again, many of the Chinese characters are changed. e.g. a Chinese character recognized as an 'o' with accent (like in French), after export, it may become an ordinary 'o'. So it become unknown character when importe back into the package.
Please advise if there is a way to retain these characters. It will help a lot.
Thanks. |
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sat Aug 15, 2009 5:21 pm |
1. Currently the development platform used to develop CMUD/zMUD did not fully support Unicode as a result, they can not offer full double-byte character support. This has long been on the wishlist, and I believe the Delphi platform is moving to full Unicode support, so hopefully in the future CMUD can offer this. Unfortunately it will not be in the immediate future.
2. See 1.
3. See 1.
4. While it is not possible to permanently change the default scripting language you can change it for each setting by selecting it from the drop down menu for each instance of a setting. Any languages that have a Windows Scripting Host interface can be used, i.e. Perl, VBScript, Javascript etc. In addition CMUD now has fully integrated Lua support.
5. I'm not sure I understand this question. To my knowledge it's not possible to change the scripting language for XML. In CMUD all settings are stored in memory as XML components to make import/export easier. It is possible to see the XML represent of the settings by clicking on the XML tab of that setting. It's also possible to export the settings to a text file.
6. See 1. |
|
_________________ Asati di tempari! |
|
|
 |
pigpig2 Newbie
Joined: 15 Aug 2009 Posts: 6 Location: Hong Kong
|
Posted: Mon Aug 17, 2009 2:22 am |
Thanks a lot for the quick and detail reply. Understand that development need times and will wait for the good news from your team.
For the time being, I would like to check whether CMUD has a delimiter to tell the parser to ignore a range of characters and send it directly out as it is. It may solve part of the problem.
Thanks again for your help.
Best regards |
|
|
 |
Tech GURU

Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Mon Aug 17, 2009 4:33 am |
Not directly, but with regular expression support built-in, I'm sure you can accomplish whatever you'd like.
See: #REGEX and Pattern Matching. |
|
_________________ Asati di tempari! |
|
|
 |
dak Beginner
Joined: 08 Aug 2009 Posts: 14
|
Posted: Tue Aug 18, 2009 8:00 am Re: Chinese characters support in CMUD ?! |
pigpig2 wrote: |
Hello, I am currently using CMUD (v2.37 and v3.08) in a Taiwan MUD. |
What MUD? |
|
|
 |
pigpig2 Newbie
Joined: 15 Aug 2009 Posts: 6 Location: Hong Kong
|
Posted: Fri Aug 21, 2009 1:28 am |
The MUD's name is 'Eastern Stories II'...
Regards |
|
|
 |
|
|