Bug 156740 - screen doesn't work correctly with iso-88591 charset in gnome-terminal: prints garbage for scandinavic characters
screen doesn't work correctly with iso-88591 charset in gnome-terminal: print...
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: screen (Show other bugs)
4
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Petr Rockai
Brock Organ
:
: 156731 156733 156734 156735 156737 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-03 15:17 EDT by Toni Willberg
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-04 04:44:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Toni Willberg 2005-05-03 15:17:58 EDT
Description of problem:

inside screen user can't type åäöÅÄÖ, it prints garbage instead. This happens
with running screen in gnome-terminal with iso-8859-1 or -15 charset, but works
nicely with utf-8.

Version-Release number of selected component (if applicable):
 screen-4.0.2-8
 glibc-2.3.5-0.fc3.1
 ncurses-5.4-16


How reproducible:
 always

Steps to Reproduce:
 1. launch gnome-terminal, switch to iso-8859-1 or -15
 2. type åäöÅÄÖ
  
Actual results:
 ����

Expected results:
 åäöÅÄÖ

Additional info:
 IMO a blocker bug; renders screen unusable
Comment 1 Toni Willberg 2005-05-03 15:19:38 EDT
Typing åäöÅÄÖ _outside_ screen with same gnome-terminal (and it's settings
including charset) works nicely.

Please provide additional debugging information if required.

Comment 2 Toni Willberg 2005-05-03 15:22:18 EDT
*** Bug 156731 has been marked as a duplicate of this bug. ***
Comment 3 Toni Willberg 2005-05-03 15:23:55 EDT
*** Bug 156733 has been marked as a duplicate of this bug. ***
Comment 4 Toni Willberg 2005-05-03 15:25:27 EDT
*** Bug 156734 has been marked as a duplicate of this bug. ***
Comment 5 Toni Willberg 2005-05-03 15:27:25 EDT
*** Bug 156735 has been marked as a duplicate of this bug. ***
Comment 6 Toni Willberg 2005-05-03 15:31:02 EDT
*** Bug 156737 has been marked as a duplicate of this bug. ***
Comment 7 Toni Willberg 2005-05-03 15:35:06 EDT
(sorry for the dupes, Bugzilla has a bug that caused it to give internal server
error, and I didn't realize the inserted the bugs into the database anyway)
Comment 8 Petr Rockai 2005-05-04 03:36:27 EDT
Works for me in FC3. I suppose you set right encoding for screen, right? As    
in, if your gnome-terminal is iso-8859-1, you should run    
LC_ALL=en_US.iso-8859-1 screen (or analogous). The default settings is utf-8,   
so if you have utf-8 set up in locale and something else in gnome-terminal,   
it's pretty likely to break, yes (and that's actually not a bug IMO...).  And 
please next time be more careful with bugzilla, i received loads of mails 
about this... 
Comment 9 Toni Willberg 2005-05-04 04:44:00 EDT
(sorry about the mailflood again, I have notified the bugzilla admin about the bug)

It seems that I wasn't aware I should be setting LC_ALL manually, as it seems to
work without outside screen.

After setting LC_ALL=en_US.iso-8859-1 I get the characters correctly inside
screen too. There seems to be still some issues in Irssi, but that's
out-of-topic here. :)

So, I'll close this as NOTABUG as it was an illegal user error. ;)

Note You need to log in before you can comment on or make changes to this bug.