dosn't support utf-8, shows e.g. when runing apt-get update

Bug #33091 reported by Chris Moore
12
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Medium
Unassigned
mrxvt (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

When apt-get gets in a mess, it tells you to use "apt-get -f install" to clean itself up.

This used to look OK until recently I think, but now it has some junk characters around it.

I used "od -c" to show the octal values of these junk characters:

0000000 Y o u m i g h t w a n t t
0000020 o r u n 342 200 230 a p t - g e t
0000040 - f i n s t a l l 342 200 231 t
0000060 o c o r r e c t t h e s e .
0000100 \n

See the attached screen shot for how it looks in a terminal.

Revision history for this message
Chris Moore (dooglus) wrote : screenshot

I ran the command several times, and the corruption happened each time.

Then I used 'od -c' to show the characters in detail.

Revision history for this message
OlivierP (unineurone) wrote : Re: I might want to run *what*?

The octal strings you see correspond to U+2018 (LEFT SINGLE QUOTATION MARK, \342\200\230)
and U+2019 (RIGHT SINGLE QUOTATION MARK, \342\200\231)

It is possible that the font you are using in your terminal cannot translate it, or the terminal does not support Unicode (UTF-8).

Could you check ?

Revision history for this message
Chris Moore (dooglus) wrote : Re: [Bug 33091] I might want to run *what*?

I tried using the same font in "xterm" and "mrxvt".

> "xterm" displays the UTF-8 quotes fine.
> "mrxvt" displays them as shown in the screenshot I attached.

So I guess this is a problem with "mrxvt". (Unless "using funny UTF
characters" is a bug? No, didn't think so).

Revision history for this message
Michael Vogt (mvo) wrote : Re: I might want to run *what*?

Well, if mrxvt dosn't support utf-8 this will not be the only applicaiton that looks "ugly". I suppose "mc", "mutt", "aptitude" etc will look similar?

I think the bug should be reassigned to mrxvt.

Cheers,
 Michael

Revision history for this message
Chris Moore (dooglus) wrote :

Quite possibly. I've not used any of those, but you're right. This isn't an apt bug.

Revision history for this message
MikeM (mike65134) wrote : Cannot type german umlauts in rxvt

It seems that I have the same problem. I installed mrxvt, rxvt and xterm. My LANG-Setting in /etc/environment is:
LANG="de_DE.UTF-8"
I can type äöü߀ in xterm, but not in mrxvt or rxvt.
There I get äöü߀
Is this the same bug?

Revision history for this message
Michael Vogt (mvo) wrote :

Yes, it seems to be the same problem (the terminal dosn't support utf-8).

Revision history for this message
Michael Vogt (mvo) wrote :

I reject the ubuntu task, one open bug against the terminal is enough

Revision history for this message
Florent (florent.x) wrote : Re: doesn't support utf-8, shows e.g. when running apt-get update

I confirm the bug. It is annoying.
I revert to xfce4-terminal for my low memory pc.

Changed in mrxvt:
status: New → Confirmed
Revision history for this message
Daniel T Chen (crimsun) wrote :

(Workaround, albeit suboptimal, available.)

Changed in mrxvt:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.