Bug 110305 - screen just doesnât show correctly characters with accents...
Summary: screen just doesnât show correctly characters with accents...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: screen
Version: 1
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Lon Hohberger
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-18 03:10 UTC by Need Real Name
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-03 21:35:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2003-11-18 03:10:52 UTC
Description of problem:
screen just doesnât show correctly characters with accents...

Version-Release number of selected component (if applicable):
> rpm -q screen
screen-3.9.15-11

How reproducible:
outside screen:
sh-2.05b$ cat test 
á é í ó ú à à à à à 
à è ì ò ù à à à à à 
â ê î ô û à à à à Ã
ã õ à Ã
sh-2.05b$ 

inside screen:
sh-2.05b$ cat test 
� � � � � � � � � � 
� � � � � � � � � � 
� � � � � � � � � �
� � � �
sh-2.05b$ 
  
Actual results:
Instead of accents it just dumps trash

Expected results:
To just show accents normally like all other screens on RH, Suse,
Mandrake or Solaris (probable any other *nix)

Additional info:
Any program with accents just gets completely screwed, for example, a
mail on pine (I installed it on fedora) outside screen works fine, is
not readable when it have any accents.

Iâm Portuguese, so almost any text I see have accents, this makes
screen not usable, thatâs why I putted the Severity on high.

Comment 1 Need Real Name 2003-11-18 03:20:55 UTC
more characters that are not shown correctly:
outside screen:
´ « » º ª â¬
inside screen:
� � � � � �

Comment 2 Lon Hohberger 2003-11-18 14:13:57 UTC
Did you try running "screen -U" ?

Comment 3 Need Real Name 2003-11-20 00:10:21 UTC
I never needed that on any other distribution or even on Solaris.

Still I tried and nothing, same bogus output...

Comment 4 Mikko Paananen 2003-11-20 01:56:02 UTC
Your locale settings are wrong, you are using unicode (UTF-8) locale
on terminal that does not support it. Screen tries to print unicode
characters but shows garbage on your terminal.

Switch to latin1/9 locale before starting screen (export
LC_CTYPE=pt_PT@euro), or

Get terminal that supports unicode. (If your terminal is Putty, set
translation to 'UTF-8'. Since you wrote that test file on non-unicode,
you have to recode your file to utf-8 with "iconv -f latin1 -t utf8 test")


Comment 5 Need Real Name 2003-11-20 08:35:00 UTC
It did work...

It is strange because Iâm using all the same configs I used on my old
Linux and on my Solaris. My accounts on bought Linux and Solaris are
mirrored regularly (the one on Linux is mirrored to the Solaris) and
It worked fine until fedora...

But thx for your time, since it is working now, Iâll keep that export...

Comment 6 Lon Hohberger 2003-12-03 21:35:27 UTC
Solved w/ configuration change -> not a bug.

Reopen if locale settings fail in the future.

FYI - I hope to build screen 4.0.x soon :)


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