UTF-8 (unicode) was working before I upgraded

Posted by Ptrayal on Mon 14 Jul 2014 03:02 AM — 4 posts, 15,830 views.

#0
Hello:
I was using 4.72 fine for a while and then decided to upgrade to the latest (4.92). Well, even if I have UTF-8 checked, it's not recognizing my unicode that's sent. I'm using KaVir's snippet on a ROM mud if that matters. I've got my font set to courier new 10 pt, though I've tried others as well.

Any thoughts?

Best Regards,
ptrayal
Australia Forum Administrator #1
It should work, but to debug can you send me some test data?

Log on, and then when some UTF-8 is expected to arrive, turn on Debug Packets (edit menu). Capture some of the offending text (it appears in another window) and then copy and paste that here. Make sure nothing sensitive appears (like passwords, other people's names, etc.).

I can use that to simulate what the client does when it receives this text and see what is happening.

When done, turn packet debugging off or that window will get very large (and slow).
#2
Yup. Here you go.


Sent  packet: 12 (5 bytes) at Monday, July 14, 2014, 6:23:41 AM

who..              77 68 6f 0d 0a

Incoming packet: 10 (398 bytes) at Monday, July 14, 2014, 6:23:42 AM

...[0;33m*******   0a 0d 1b 5b 30 3b 33 33 6d 2a 2a 2a 2a 2a 2a 2a
****************   2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a
****************   2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a
****************   2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a
*****.[0;00m...[   2a 2a 2a 2a 2a 1b 5b 30 3b 30 30 6d 0a 0d 1b 5b
0;33m***.[0;00m    30 3b 33 33 6d 2a 2a 2a 1b 5b 30 3b 30 30 6d 20
 .[1;37m       P   20 1b 5b 31 3b 33 37 6d 20 20 20 20 20 20 20 50
eople currently    65 6f 70 6c 65 20 63 75 72 72 65 6e 74 6c 79 20
on Project Twili   6f 6e 20 50 72 6f 6a 65 63 74 20 54 77 69 6c 69
ght.[0;00m         67 68 74 1b 5b 30 3b 30 30 6d 20 20 20 20 20 20
   .[0;33m***.[0   20 20 20 1b 5b 30 3b 33 33 6d 2a 2a 2a 1b 5b 30
;00m...[0;33m***   3b 30 30 6d 0a 0d 1b 5b 30 3b 33 33 6d 2a 2a 2a
****************   2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a
****************   2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a
****************   2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a
*********.[0;00m   2a 2a 2a 2a 2a 2a 2a 2a 2a 1b 5b 30 3b 30 30 6d
....[.[1;33m Vmp   0a 0d 0a 0d 5b 1b 5b 31 3b 33 33 6d 20 56 6d 70
 NOSF .[0;00m][.   20 4e 4f 53 46 20 1b 5b 30 3b 30 30 6d 5d 5b 1b
[1;33mHideous .[   5b 31 3b 33 33 6d 48 69 64 65 6f 75 73 20 1b 5b
1;34mMale.[0;00m   31 3b 33 34 6d 4d 61 6c 65 1b 5b 30 3b 30 30 6d
.[0;00m] .[1;37m   1b 5b 30 3b 30 30 6d 5d 20 1b 5b 31 3b 33 37 6d
Rayal .[0;00m is   52 61 79 61 6c 20 1b 5b 30 3b 30 30 6d 20 69 73
 here..[0;00m...   20 68 65 72 65 2e 1b 5b 30 3b 30 30 6d 0a 0d 0a
.Players found:    0d 50 6c 61 79 65 72 73 20 66 6f 75 6e 64 3a 20
1....<unhurt>      31 0a 0d 0a 0d 3c 75 6e 68 75 72 74 3e 20


I can get more if you need.
#3
Nevermind, I got it figured out. I rolled back all my code changes until I knew it was working and it started resending. Apologies for blaming the product. :)

Best Regards,
Ptrayal