[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Characters: ââ Plagueing system



Anthony Hawkes wrote:
CJ van den Berg wrote:
On Tue, Aug 15, 2006 at 08:50:25PM +0800, Anthony Hawkes wrote:
Anyone have any idea why manuals and for example pstree show the follow weird characters: ââ

Heres a copy of the output of pstree:
initââ¬âacpid
    ââapache2âââ10*[apache2]
    ââarchived.pl
    ââatd
    ââclamd
    ââcourierloggerâââauthdaemondâââ5*[authdaemond]

Its hard to figure out where issues like this come from because a google search returns results for aa and not ââ

Any help would be appreciated, cheers guys.

It sounds like your terminal emulator is running with LANG=C and your shell
is running with LANG=xx_XX.utf-8 or some other similar locale mixup.

i.e. The ââ characters are utf-8 codes for the line drawing symbols
interpreted as plain ASCII.

Try this to see it happening:

LANG=C xterm -e "LANG=en_US.utf-8 pstree; read"

To fix this, make sure that LANG is set the same for both shell and
terminal.

This is through the main shell and via SSH not through a Term Emu



Set encoding to   en_AU.ISO-8859-1... this seems to of resolved the problem.



Reply to: