Umlauts and accent marks broken...

Posted by Crawlkill on Sat 07 Dec 2013 04:26 PM — 9 posts, 27,895 views.

#0
Yo! So on every machine I've ever run MUSHClient (and indeed SimpleMU) on, I've been unable to send or receive "special" characters--y'know, vowels with accent marks or Germanic vowels, äöü, ô, all that. I can type them into my send bar just fine, but when I try to send them to any game at all, they're just replaced with blanks. When -other- people send similar characters to those games, though, I see them translated into standard un-diacritic'd vowels--someone sending ÄäÖöÜü will show up to me as AaOoUu. This isn't a huge deal, but I do like...being able to spell German words correctly. Anyone have any idea what's wrong? It doesn't seem to be the font I'm using, as changing it doesn't make any difference.
Australia Forum Administrator #1
It seems to work for me:



Do you have UTF-8 enabled? What font are you using?
Australia Forum Administrator #2
Some servers do not accept characters over 0x7F in value (which would be these accented characters). It might be a server thing.
#3
I use Courier New by default, but Times New Roman had the same problem. The only difference when I turned on UTF-8 is that my echoed text, which with it turned off shows as the correct input with umlauts visible, changes those umlauted characters into little error boxes.

The server I'm on here does accept them; other people can see them when -they- type them (although when -I- enter them they just turn up as blank, even on their screens).
Amended on Sat 07 Dec 2013 10:31 PM by Crawlkill
Australia Forum Administrator #4
Crawlkill said:

The only difference when I turned on UTF-8 is that my echoed text, which with it turned off shows as the correct input with umlauts visible ...


I'm confused now. You say when it echoes text it appears OK? Like in my screenshot? So the outputting of the umlauts is OK?

However in your case the server-generated text is wrong, however the echoed text is right?
#5
Here's a screencap of me (Dyson) trying to emote with special characters twice, first with UDP-8 off, then with it on:

http://s23.postimg.org/mj863w8br/special_characters.png?noCache=1386515876

I didn't have anyone around for whom those characters work, but if there had been and they'd sent any, I would've seen them as AaOoUu and they'd've seen them as ÄäÖöÜü. When I send them, though, they echo correctly, but don't send, either to me or to anyone else--they see -my- sends the same way I do, blank.
Australia Forum Administrator #6
Can you please turn packet debugging on and capture one of these emote / response sessions. Then turn the packet debugging off again.

Post here inside code tags.

Edit Menu -> Debug Packets.
#7
"ÄäÖöÜü
You say, “”

Well, we're getting something now! I get that result if I have UTP-8 turned off. With UTP-8 on, it behaves the way it did before, echoing squares and returning nothing from the server.

Edit: Until I disconnected and reconnected, all of my quotation marks were replaced with “ and â€. So it was actually still sending nothing there, just interpreting my quotation marks strangely (which you probably recognized anyway).
Amended on Mon 09 Dec 2013 01:13 PM by Crawlkill
Australia Forum Administrator #8
Can you post the packet debug please? It will look something like this:



Sent  packet: 7 (12 bytes) at Tuesday, December 10, 2013, 7:54:30 AM

say ÄäÖöÜü..       73 61 79 20 c4 e4 d6 f6 dc fc 0d 0a

Incoming packet: 8 (97 bytes) at Tuesday, December 10, 2013, 7:54:30 AM

.[1;36mYou say '   1b 5b 31 3b 33 36 6d 59 6f 75 20 73 61 79 20 27
ÄäÖöÜü'.....[0m.   c4 e4 d6 f6 dc fc 27 0d 0a 0d 0a 1b 5b 30 6d 1b
[0;37m<.[1;33m24   5b 30 3b 33 37 6d 3c 1b 5b 31 3b 33 33 6d 32 34
hp .[1;36m145m .   68 70 20 1b 5b 31 3b 33 36 6d 31 34 35 6d 20 1b
[1;32m110mv.[0;3   5b 31 3b 33 32 6d 31 31 30 6d 76 1b 5b 30 3b 33
7m> <#21026> .[0   37 6d 3e 20 3c 23 32 31 30 32 36 3e 20 1b 5b 30
m                  6d