Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
RePtilE
Newbie


Joined: 26 Jul 2004
Posts: 1

PostPosted: Fri Aug 06, 2004 2:02 am   

Is there going to be a unicode version of ZMud?
 
Sad
I'm very sad to have discovered that ZMud can NOT properly support some certain kind of wide character eg. Korean and Japanese.
Are you planning to build a unicode version? Question
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Fri Aug 06, 2004 4:19 am   
 
Quote:

Because the development tools I use do not fully support Unicode, and the custom screen-scrolling component used in zMUD would have to be re-written from scratch.

zMUD does not support multi-byte Unicode languages, and never will, sorry.

Delphi programs are notoriously poor at supporting Unicode, as I found when writing zMUD. While the newer Delphi 7 is better, I'm not sure how "Unicode-ready" some of the 3rd party components are that I'm using.

The real problem with this is testing. I certainly can't test Unicode support myself because I don't have any machines that use double-byte languages and can't read Chinese or Japanese.

zMUD is written in Delphi and was originally written for Windows 3.1 way back in 1995. Back then, nothing supported unicode, not even Windows. Over the years, Delphi finally added Unicode support (fully in Delphi 5), which was a couple of years ago. However, by then, much of low-level sections of zMUD had already been written. In particular, the scrolling MUD output display only stores one byte per character. Converting this to support Unicode would be a major task.

So, yes, Unicode *is* very difficult to implement, once code has been written before unicode existed. Some of us old-time programmers are just used to treating strings as byte-arrays, and end up doing lots of stuff for speed and efficiency that just doesn't work with unicode. Between the screen display, the trigger pattern matching, the script parsing, etc, there are lots and lots of places where unicode would have to be added.

So, I'm afraid that at this point, it's probably never going to happen. Sorry.

- Zugg (from various posts and different times)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
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

© 2009 Zugg Software. Hosted by Wolfpaw.net