Connecting to an IRE MUD changes 'W' to a '￉'

Bug #1369505 reported by Vadim Peretokin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mudlet
Fix Released
Low
Ahmed Charles

Bug Description

Connect to achaea.com, type in 'hello' and you'll see the ￉. Regression from 2.1.

Revision history for this message
Stephen Lyons (slysven) wrote :

The odd character here is coming up as Unicode point U+2592 "MEDIUM SHADE" - in Utf-8 that would be the three byte sequence 0xE2 0x96 0x92 or if utf-16 - which might translate to Qt internal format for QChar( 0x2592 ) but I'm not certain of that. Is this the actual character or has it been rewritten by being copied to here?

Revision history for this message
Vadim Peretokin (vperetokin) wrote : Re: [Bug 1369505] Re: Connecting to an IRE MUD changes 'W' to a '￉'

It is being rewritten, it should be a 'W' and was a 'W' in 2.1.

On Mon, Sep 22, 2014 at 11:46 PM, Stephen Lyons <email address hidden>
wrote:

> The odd character here is coming up as Unicode point U+2592 "MEDIUM
> SHADE" - in Utf-8 that would be the three byte sequence 0xE2 0x96 0x92
> or if utf-16 - which might translate to Qt internal format for QChar(
> 0x2592 ) but I'm not certain of that. Is this the actual character or
> has it been rewritten by being copied to here?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1369505
>
> Title:
> Connecting to an IRE MUD changes 'W' to a '￉'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mudlet/+bug/1369505/+subscriptions
>

Revision history for this message
Stephen Lyons (slysven) wrote :

Um, no, what I meant was is that 50% grey (alternate pixel filled-in)
character what is actually being received in Mudlet or does it just
represent a replacement character put in somehow (as an alternative to
say '�', the 'proper' replacement character a.k.a. codepoint U+FFFD)
Reason I was asking was to see if there is any plusable way to get from
a single byte character to something that takes three bytes to encode.
One faint possibility might be that if the 'W' is the *very* *first*
byte of the incoming stream, if so, could the three bytes of a Byte
Order Mark - 0xEF,0xBB,0xBF be mixing up with the 0x57 for 'W' to
produce something weird...

That is a long shot though, and the mechanism causing it is beyond me at
the moment. I think we might need to know the OS and locale settings for
people having this bug - and some idea of who does not. (Beyond that
they are on 2.1)

On 22/09/14 20:08, Vadim Peretokin wrote:
> It is being rewritten, it should be a 'W' and was a 'W' in 2.1.
>
> On Mon, Sep 22, 2014 at 11:46 PM, Stephen Lyons <email address hidden>
> wrote:
>
>> The odd character here is coming up as Unicode point U+2592 "MEDIUM
>> SHADE" - in Utf-8 that would be the three byte sequence 0xE2 0x96 0x92
>> or if utf-16 - which might translate to Qt internal format for QChar(
>> 0x2592 ) but I'm not certain of that. Is this the actual character or
>> has it been rewritten by being copied to here?
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1369505
>>
>> Title:
>> Connecting to an IRE MUD changes 'W' to a '￉'
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/mudlet/+bug/1369505/+subscriptions
>>
>

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

I copied the character from Mudlet as-is, looks like it is U+FFC9 <not assigned>/

2.1 has no issue, 3.0.0-alpha people on all OS's are having this issue. You can test this fairly easily in both 2.1 and 3.0.0-alpha clients, see bug description for the test case.

Revision history for this message
Stephen Lyons (slysven) wrote :

Ah, so one of the errant bytes is a 0xFF - well THAT is Telnet IAC followed by 0xC9 (decimal 201 ???) which corresponds to GMCP doesn't it?

Revision history for this message
Vadim Peretokin (vperetokin) wrote :

Yep

Revision history for this message
Ahmed Charles (ahmedcharles) wrote :
Download full text (4.4 KiB)

With 2.1, the telnet conversation looks like this (with GMCP turned off):

CLIENT CONNECTION RECEIVED
SERVER CONNECTION ESTABLISHED
CLIENT IAC WONT 3 (SGA)
CLIENT SUB 201 (GMCP) [20 bytes]: Core.Supports.Set []
SERVER IAC WILL 25 (EOR)
SERVER IAC WILL 200 (ATCP)
SERVER IAC WILL 201 (GMCP)
SERVER IAC WILL 86 (COMPRESS2)
SERVER DATA: Rapture Runtime Environment v2.2.0 -- (c) 2012 -- Iron Realms Entertainment<0x0D><0x0D><0x0A>
Multi-User License: 100-0000-000<0x0D><0x0D><0x0A>
<0x0D><0x0D><0x0A>
<0x1B>[0;37m <0x1B>[34m******************************************<0x1B>[37m<0x0D><0x0A>
<0x0D><0x0A>
                 <0x1B>[32mAchaea, Dreams of Divine Lands<0x1B>[37m<0x0D><0x0A>
<0x0D><0x0A>
                 <0x1B>[36m"Your fate and fame shall be<0x0D><0x0A>
               an echo and a light unto eternity."<0x0D><0x0A>
<0x0D><0x0A>
           <0x1B>[34m******************************************<0x1B>[37m<0x0D><0x0A>
<0x0D><0x0A>
           Achaea's IP address is 69.65.42.198<0x0D><0x0A>
           For general quest
SERVER DATA: ions e-mail <email address hidden>.<0x0D><0x0A>
           146 adventurers are currently in the realms.<0x0D><0x0A>
<0x0D><0x0A>
           <0x1B>[32m1.<0x1B>[37m Enter the game.<0x0D><0x0A>
           <0x1B>[32m2.<0x1B>[37m Create a new character.<0x0D><0x0A>
           <0x1B>[32m3.<0x1B>[37m Quit.<0x0D><0x0A>
<0x0D><0x0A>
Enter an option or enter your character's name.
SERVER IAC GA
CLIENT IAC DONT 25 (EOR)
CLIENT IAC DO 200 (ATCP)
CLIENT SUB 200 (ATCP) [84 bytes]: hello Mudlet 2.0.1<0x0A>
composer 1<0x0A>
char_vitals 1<0x0A>
room_brief 1<0x0A>
room_exits 1<0x0A>
map_display 1<0x0A>

CLIENT IAC DO 86 (COMPRESS2)
SERVER IAC WONT 25 (EOR)
CLIENT IAC DONT 25 (EOR)
SERVER SUB 86 (COMPRESS2)
CLIENT COMPRESSION ON
SERVER COMPRESSION ON
CLIENT DATA: hello<0x0D><0x0A>

SERVER DATA: What is your password?
SERVER IAC GA
CLIENT DATA: hello<0x0D><0x0A>

SERVER IAC WILL 1 (ECHO)
SERVER DATA: Password incorrect. For recovery, see http://www.achaea.com/game/recover<0x0D><0x0A>

SERVER SUB 200 (ATCP) [87 bytes]: Client.GoodBye Password incorrect. For recovery, see http://www.achaea.com/game/recover
SERVER IAC GA
SERVER DISCONNECTED
BOTH CONNECTIONS CLOSED

Same profile with development branch (which is the same as alpha, in this regard):

CLIENT CONNECTION RECEIVED
SERVER CONNECTION ESTABLISHED
SERVER IAC WILL 25 (EOR)
SERVER IAC WILL 200 (ATCP)
SERVER IAC WILL 201 (GMCP)
SERVER IAC WILL 86 (COMPRESS2)
SERVER DATA: Rapture Runtime Environment v2.2.0 -- (c) 2012 -- Iron Realms Entertainment<0x0D><0x0D><0x0A>
Multi-User License: 100-0000-000<0x0D><0x0D><0x0A>
<0x0D><0x0D><0x0A>
<0x1B>[0;37m <0x1B>[34m******************************************<0x1B>[37m<0x0D><0x0A>
<0x0D><0x0A>
                 <0x1B>[32mAchaea, Dreams of Divine Lands<0x1B>[37m<0x0D><0x0A>
<0x0D><0x0A>
                 <0x1B>[36m"Your fate and fame shall be<0x0D><0x0A>
               an echo and a light unto eternity."<0x0D><0x0A>
<0x0D><0x0A>
           <0x1B>[34m******************************************<0x1B>[37m<0x0D><0x0A>
<0x0D><0x0A>
           Achaea's IP address is 69.65.42.198<0x0D><0x0A>
           For general quest
SERVER DATA: ions e-mail support@a...

Read more...

Changed in mudlet:
assignee: nobody → Ahmed Charles (ahmedcharles)
status: Confirmed → Fix Committed
Revision history for this message
Ahmed Charles (ahmedcharles) wrote :

One side thing I noticed: 3.0 no longer respects the GMCP option in settings and enables it regardless of whether it's in the settings or not.

The bug reported here is fixed: https://github.com/Mudlet/Mudlet/pull/186

Changed in mudlet:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.