Search found 7 matches
- Thu Sep 14, 2017 11:12 am
- Forum: Scripts & Packages
- Topic: Working with non ASCII strings in Lua scripts (KOI8-R example)
- Replies: 1
- Views: 5427
Working with non ASCII strings in Lua scripts (KOI8-R example)
Been trying to do some triggering for MUDs with cyrillic. I'm new to lua and Mudlet. Guys explained that non-ASCII characters are not yet in place. Version 4.0 possibly. So tried to do some workaround. I noticed that I can get some utf8 codes of incomming strings with utf8.codes() for example. Those ...
- Wed Sep 13, 2017 1:44 pm
- Forum: Help Forum
- Topic: win-1251 bug and possible quickfix
- Replies: 9
- Views: 8657
Re: win-1251 bug and possible quickfix
Actually have same problem with win1251. Gonna have to decode/encode it somehow i believe..
Btw choosing zMud charset replaces 'ya' with 'z' letter. Seems to be an old problem
Btw choosing zMud charset replaces 'ya' with 'z' letter. Seems to be an old problem

- Wed Sep 13, 2017 12:38 pm
- Forum: Help Forum
- Topic: win-1251 bug and possible quickfix
- Replies: 9
- Views: 8657
Re: win-1251 bug and possible quickfix
Now I'm having problems with KOI8-R in lua scripting. Regex triggers fine, but when I try to check some matches equal to some cyrillic string its not working. And echo returns question marks.
- Wed Sep 13, 2017 12:21 pm
- Forum: Help Forum
- Topic: win-1251 bug and possible quickfix
- Replies: 9
- Views: 8657
Re: win-1251 bug and possible quickfix
That was easy 
KOI8-R seemd so irrelevant. Didnt even think to try it! Thx!

KOI8-R seemd so irrelevant. Didnt even think to try it! Thx!
- Tue Sep 12, 2017 12:12 pm
- Forum: Help Forum
- Topic: win-1251 bug and possible quickfix
- Replies: 9
- Views: 8657
Re: win-1251 bug and possible quickfix
The capital letter seems to work just fine, but lower case 'ya' generates the problem.
Could post some sceenshot illustrating the problem. But forum seems to block any links.
Could post some sceenshot illustrating the problem. But forum seems to block any links.
- Tue Sep 12, 2017 7:38 am
- Forum: Help Forum
- Topic: win-1251 bug and possible quickfix
- Replies: 9
- Views: 8657
Re: win-1251 bug and possible quickfix
Well I'm playing on sowmud[dot]ru 4662. Not sure if you can play with cyrillic.
As for replacing new line, I believe it's not a problem to reproduce. Actually, I'm not sure that there is an effective way to replace exactly those new lines i need. But still I had no luck replacing any.
As for replacing new line, I believe it's not a problem to reproduce. Actually, I'm not sure that there is an effective way to replace exactly those new lines i need. But still I had no luck replacing any.
- Mon Sep 11, 2017 7:43 am
- Forum: Help Forum
- Topic: win-1251 bug and possible quickfix
- Replies: 9
- Views: 8657
win-1251 bug and possible quickfix
Having a big problem with WINDOWS-1251 encoding. Mudlet replaces 'я' letter with new line (\n).
Hopefully this will be fixed some day.
But I would appriciate any quick fix.
Tried to replace it with regex trigger. But I cant figure out how to replace "\n".
Perl regex:
(\r\n?|\n)
Different ways ...
Hopefully this will be fixed some day.
But I would appriciate any quick fix.
Tried to replace it with regex trigger. But I cant figure out how to replace "\n".
Perl regex:
(\r\n?|\n)
Different ways ...