[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]  TinyMUX 2.7 with UTF-8 and MUSHClient
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

TinyMUX 2.7 with UTF-8 and MUSHClient

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

Pages: 1  2  3 

Posted by Nick Gammon   Australia  (21,677 posts)  [Biography] bio   Forum Administrator
Date Reply #30 on Mon 12 Mar 2007 02:32 AM (UTC)

... with either ISO-8859-1 or US-ASCII as appropriate ...

Which is appropriate?

Anyway, I have got it currently agreeing to US-ASCII is UTF-8 is not checked, and UTF-8 if it is.

I think you can detect from the login name, whatever that is, for this reason: Regardless of whether they are using a Unicode name or not I am presuming that you will not permit two players to have the same sequence of bytes as a name. In other words, two names which are identical byte patterns (but one is using UTF-8 and one is using LATIN1) would not be permitted. It would just be too confusing otherwise.

Thus, once a player has entered a name, that sequence of bytes, regardless of whether the high order bit(s) are set, can be used to look them up in the player database. Then their preference for UTF-8 can be established. I am presuming that they won't change clients every couple of hours, or fonts even, so once their preference is set, it can probably stay set.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[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.


This is page 3, subject is 3 pages long:  [Previous page]  1  2  3 

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.


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]