LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-24-2005, 07:07 AM   #1
satishy
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Telnet problems with Linux German Installation


Hi ,

I am working with german installation of Redhat Enterprise.The issue is
i am not able to get exact german characters of remote system whenever i login through Putty(telnet).

Example:
On Remote System file name is :test.txt
On Putty i am seeing the file name as:testü.txt

Please note that the same testcase is working fine with solaris system.Do i need to setup anything more to resolve this.

Linux Environment details:

HOSTNAME=localhost.localdomain
TERM=xterm
SHELL=/bin/bash
HISTSIZE=1000
SSH_CLIENT=10.4.3.71 1288 22
SSH_TTY=/dev/pts/1
USER=root
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36i=40;33:so=00;35:bd=40;33;01:cd=40;33;01r=01;05;37;41:mi= 01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00 ;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz =00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;3 5:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
USERNAME=root
MAIL=/var/spool/mail/root
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
INPUTRC=/etc/inputrc
PWD=/root
LANG=de_DE.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/root
BASH_ENV=/root/.bashrc
LOGNAME=root
SSH_CONNECTION=10.4.3.71 1288 10.4.3.101 22
LESSOPEN=|/usr/bin/lesspipe.sh %s
G_BROKEN_FILENAMES=1
_=/bin/env


Can anyone help me in this regard.

Thanks in advance
satish
 
Old 10-28-2005, 03:49 PM   #2
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
Re: Telnet problems with Linux German Installation

Hi Satish,

I don't have a concise fix (maybe change LANG?). But I have a suspicion of what's going on.

Quote:
Originally posted by satishy
Example:
On Remote System file name is :test�.txt
On Putty i am seeing the file name as:testü.txt

Linux Environment details:

[...]
LANG=de_DE.UTF-8
[...]
It seems that characters are UTF-8 encoded on one side, but not decoded on the other side.
I found http://en.wikipedia.org/wiki/UTF-8 helpful. For example, the character ü (u umlaut, 0xfc)
has bits 11111100, which UTF-8 encodes as the two characters
11000011 (character Ã, A tilde, 0303) and 10111100 (character ¼, one-quarter, 0274).
Note that that's almost but not quite what happened in your file name; you started with ö (o umlaut, not u umlaut),
which should be encoded as ö (A tilde, paragraph-mark). It's just one bit off -- not sure what's going on there.

Note that as soon as I used LinuxQuestion's "quote" button, your filenames got changed. In the remote name the character
appears as a black oval containing a white question mark (because the raw o-umlaut character followed by period (.) is not well-formed UTF-8).
And in the Putty name I see u-umlaut here in the text editing window, apparently because the decoding is happening.

These characters with their high bit set make weird things happen. If all this is too longwinded for your taste, I'll say this:
It's a mess. Avoid those Umlauts.

Christian
 
Old 10-28-2005, 04:08 PM   #3
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
Re: Re: Telnet problems with Linux German Installation

P.S. Apparently posting changed around my characters >= 128. What I see in Mozilla are the UTF-8 encodings (doubly encoded by now).
Maybe it will result in a legend when I type one character at the beginning of each line below and label it (I'm also including the HTML entity).
A tilde, Ã
one quarter, ¼
paragraph mark, ¶
o umlaut, ö
u umlaut, ü

What you see in your browser may vary.

Last edited by Quigi; 10-28-2005 at 04:10 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a good German Linux (BSD maybe?) magazine? kpachopoulos General 2 08-21-2005 04:42 AM
German Keyboard problems marsonist Linux - General 3 04-08-2003 01:51 PM
linux turned language to german.. ichbinesderelch Linux - General 1 12-13-2002 11:34 AM
Telnet Installation sLiCk Linux - Newbie 9 11-06-2002 12:39 PM
Telnet installation saravanan1979 Linux - Networking 2 05-06-2002 08:50 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 05:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration