Register forum user name Search FAQ

Gammon Forum

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 ➜ SMAUG ➜ Compiling the server ➜ still turkish char prob

still turkish char prob

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


Posted by Ronald   (47 posts)  Bio
Date Mon 04 Feb 2002 11:22 AM (UTC)
Message
emm.i have still the prob with the characters.çöþðü these chararacters do the same on the message page.and still i couldnt find a solution.by the way thx for help epona.i wrote an email to u and i am goin to try the dawn of time.but i guess i will have the turkish character prob there too.so i need a solution still.any idea?by the way i am not good in coding so explaining well the subject would help me a lot...thx
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 06 Feb 2002 01:21 AM (UTC)
Message
Windows supports Unicode, which is a 2-byte character set, which allows for encoding of more characters than can fit into 1 byte (a maximum of 256 characters, and the first 32 are taken for control codes).

However most, possibly all, MUD servers store text internally as 1-byte characters. Thus your problem is a fundamental design one.

You would need to take the server code and make it handle Unicode, by basically using 2-byte character strings for every piece of text. Although not trivial, it could be done.

However you now have another problem - most, possibly all - client programs (eg. MUSHclient) also only store incoming text as 1-byte characters, so even if you changed the server, you would need a compatible client program.

I am not sure if there is a MUD client program, or even a version of Telnet, that supports multi-byte characters. Perhaps someone else knows?

- 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.


9,404 views.

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

Go to topic:           Search the forum


[Go to top] top

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