tildes

Post Reply
ilean
Posts: 1
Joined: Tue Jan 26, 2010 8:36 pm

tildes

Post by ilean »

Hi all.
I'm starting to use Mudlet client on a Spanish MUD server and I'm having one problem. Perhaps it's just a bad configuration. It is:

Specials spanish characters (vowels with tildes) are showed correctly whem it comes from MUD owned text but text send by Mudlet are UNICODE (or UFT-8, i don't know).

See that capture:
Image

You can see that text from MUD, command line and local echo shows vowels fine but MUD replies don't.

Can I do somethig to solve that?

vincent
Posts: 2
Joined: Fri Feb 05, 2010 2:24 pm

Re: tildes

Post by vincent »

I am trying mudlet since few months ago, different versions, and mudlet seems is not ready for spanish, norwegian or similar languages with tildes.
If you like a mud without problems in it, you can try zmud o cmud.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: tildes

Post by Heiko »

Mudlet uses unicode internally, so general unicode support would be easy. but I haven't done this yet and it's not high priority at the moment because I don't see a large user base that would need it as there have been very few requests so far. I've implemented it on my local development tree for Mudlet 1.1.0 as you can see here http://forums.mudlet.org/viewtopic.php? ... nese#p2434
The problem, however, is that fully fledged unicode support requires a fair bit of work as Lua is not able to handle unicode by itself, so Mudlet has to transcode all text passed to and from Lua functions to Mudlet. Whoever is willing to do the work should get back to me to discuss the details.

Heceldi
Posts: 3
Joined: Tue Sep 25, 2012 5:21 pm

Re: tildes

Post by Heceldi »

This is something I've dealt with in past lua implementations I've worked with.

Easy solution is to swap lua out for luaplus from https://github.com/jjensen/luaplus51-all

Wide strings, and a few other optimizations.

I can't for the life of me get it to compile under mingw, and my visual studio project is heavily hand-crafted, so I wouldn't be the best person to create a patch. If I could get my hands on a good, clean build tree for mingw that works without a lot of modifications, I'd be more than happy to create a patch based around luaplus.

Post Reply