Operating System - HP-UX
1833792 Members
1815 Online
110063 Solutions
New Discussion

locale, character sets and telnet

 
SOLVED
Go to solution
Rolf Modin
Advisor

locale, character sets and telnet

I just installed HP-UX 11.0. I need to be able to write swedish characters, such as ??????. I have set "stty cs8", "LANG=sv_SE.iso88591" and "LC_ALL=sv_SE.iso88591". Still ?????? is shown as EDV instead. It seams like the 8:th bit is lost.

In older versions of telnetd there was a flag to make telnet use 8-bit characters, but I can not see that flag in the man page for this version.

Grateful for insights
Rolf
3 REPLIES 3
john korterman
Honored Contributor
Solution

Re: locale, character sets and telnet

Hi Rolf,
hope I do not offend you by asking whether istrip is on? Does
# stty -a
show
-strip
It should, else set it off by
# stty -istrip

regards,
John K.
it would be nice if you always got a second chance
Francisco J. Soler
Honored Contributor

Re: locale, character sets and telnet

Hi Rolf,

to set eight bits you can try:

echo "^[&k1I" or echo "\033&k1I"

to quit eight bits:

echo "^[&k0I" or echo "\033&k0I"


HTH
Frank.
Linux?. Yes, of course.
Rolf Modin
Advisor

Re: locale, character sets and telnet

Thank You, John, "stty -istrip" was the answer!
Why does a modern OS use istrip as the default !?!

Frank, I did not need to test your suggestion. It looks as something that is dependent on what terminal type you use. Is it codes for VT-terminals to use if the problem is that the characters actually used in communication is 8-bit, but the display just shows them as 7-bit.

/ROlf