KMuddy

Welcome! ( Recent posts | Mark all | Login | Register ) » KMuddy Discussion Forums » KMuddy » Bug Reports » Extended ASCII characters

Pages: << prev 1 next >>
Extended ASCII characters, Showing extended ASCII
 
This member is currently offline vfrc
New Member


Member Level

Group: Members
Posts: 2
Joined: Apr 14, 2006

Go to the bottom of the page Go to the top of the page
Posted Apr 14, 2006, 4:35 am   Last edited Apr 14, 2006, 4:36 am by vfrc

kmuddy-0.8pre4 doesn't show extended ASCII characters. After changing line 920 of ctelnet.cpp from cleandata += QString::fromLocal8Bit (str); to cleandata += QString::fromAscii (str); it does. Is this a locale specific setting? Is there any chance of an optional toggle between Local8Bit and Ascii? I'm probably missing something obvious, I just can't pin it down. Didn't touch the rest of the fromLocal8Bit calls in fear that it could affect telnet negotiation - but would it?

This member is currently offline Mecir
KMuddy Author


Member Level

Group: Administrators
Posts: 1,586
Joined: Feb 2, 2003

Go to the bottom of the page Go to the top of the page
Posted Apr 15, 2006, 1:25 am   

Extended ASCII ... Do I understand it correctly that you use a non-US locale, and are trying to access some MUD using characters found in the extended ASCII for US locale (aka latin1 or ISO 8859-1) ?
.........................
/ Tomas

This member is currently offline vfrc
New Member


Member Level

Group: Members
Posts: 2
Joined: Apr 14, 2006

Go to the bottom of the page Go to the top of the page
Posted Apr 15, 2006, 11:50 am   

That's most likely the case - my locale is GB. With fromLocal8Bit, I don't see any characters at all past #126. I.e. the pound sign, letters with um-lauts, et cetera. As soon as I change that call to fromAscii, all appears fine.
Though I would think that the wrong locale should show something at least - perhaps not the right characters, but not empty spaces/empty boxes (depending on the selected font)? I may be way off here, I'm not a big expert in locate settings, but I hope this describes what I try to do/what I get/what I was expecting to get. And thanks for your prompt response!

This member is currently offline Mecir
KMuddy Author


Member Level

Group: Administrators
Posts: 1,586
Joined: Feb 2, 2003

Go to the bottom of the page Go to the top of the page
Posted Apr 16, 2006, 1:02 am   

Hmm. Well, sounds like we need profile-specific some option to disable locale-aware character conversion. Added to the TODO.
.........................
/ Tomas

This member is currently offline golb12
New Member


Member Level

Group: Members
Posts: 1
Joined: Feb 24, 2008

Go to the bottom of the page Go to the top of the page
Posted Feb 24, 2008, 7:21 pm   

Im having a problem with this in .8 i was unable to locate the file that the first user was talking about, im kinda dumb hoping someone can help me with a fix?

This member is currently offline Vadi
Master Member


Member Level

Group: Members
Posts: 316
Joined: Sep 20, 2007

Go to the bottom of the page Go to the top of the page
Posted Feb 25, 2008, 5:44 am   

The file is located in the kmuddy/kmuddy dir of the source files. If you don't have them, you can download them here: http://kmuddy.com/files/kmuddy-0.8.tar.gz

(you'll need to re-compile kmuddy after the change for it to take effect - if you need any help with that, let me know)

Pages:<< prev 1 next >>
Valid XHTML 1.1! Valid CSS!

Sep 8, 2010, 12:27 am