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
➜ Area Editor
➜ Suggestions
➜ Unicode
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Torqual
(2 posts) Bio
|
Date
| Sat 16 Apr 2011 01:53 PM (UTC) |
Message
| Hey,
doesn't seem this area editor forum is used much. But I'll behave by posting here :)
Ahem...
I'm currently porting Quickmud (ROM) to the German language and, naturally, there are problems with Unicode.
To shorten things, MUSHclient works fine with Nick's LUA script posted elsewhere here (if I remember right, it was written to make MC understand russian.)
But, alas! Using native characters in my areas renders the area editor useless because he does not understand it and spits out funny chars. Which isn't funny at all, since I favour the editor over OLC.
Is there any way to teach it unicode? Is it possible to compile the source under Linux? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 16 Apr 2011 10:49 PM (UTC) |
Message
| I think it is quite hard to change it to Unicode. It was originally compiled as non-Unicode, and experience tells me that fixing that is very time-consuming and difficult. The problem is that Windows "under the hood" chooses Unicode or non-Unicode dialog boxes etc. based on the application type. To see Unicode you need to have Unicode dialog boxes, which it won't do right now.
Even MUSHclient isn't really Unicode, but since I hand-draw the output window (so to speak) I can use the Unicode drawing routines there if needed.
As for compiling under Linux, no, sorry. You can try, of course. But it was compiled using the MFC (Microsoft Foundation Class) libraries which do not come with Linux. I tried recompiling MUSHclient a while back using g++ and hit thousands of compiler errors and incompatibilities.
Even the area file format has changed (if you are using SmaugFUSS, which you are not). However the changed format is easier to edit "by eye" if you wanted to stick to manually editing area files in a Unicode-friendly text editor.
Failing that, you could still use the Area Editor to do things like link rooms together, that sort of stuff. I don't think it will corrupt the Unicode (the UTF-8 I presume you are using) but am not absolutely sure. I would test on a small file first. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Torqual
(2 posts) Bio
|
Date
| Reply #2 on Sun 17 Apr 2011 06:48 AM (UTC) |
Message
| Too bad! Thanks, Nick. | 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.
13,166 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top