Re: Charset of the Aptitude reference manual
On Tue, 01 Dec 2009 18:25:55 -0500
Chris Jones <cjns1989@gmail.com> wrote:
> On Tue, Dec 01, 2009 at 05:35:01PM EST, Celejar wrote:
> > Hi,
> >
> > When I look at the Aptitude manual (/usr/share/aptitude/README) using
> > 'less' (in Xfce4 Terminal), I get undisplayable characters, shown as
> > '<C2>'. 'file' says that the charset is 'ISO-8859 English text', so I
> > tried preceding the 'less' invocation by 'LESSCHARSET=iso8859', and
> > those characters are then shown as undisplayable glyphs (some sort of
> > '?' symbols). In Iceweasel and vi(m), they're shown as 'Â'. What's
> > with this file, and why are these characters not displayed correctly in
> > any application on my system?
>
> What version of debian?
Sid
> What locale are you using?
~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
> OK, here (debian lenny & locale set to en_US.UTF-8) with:
>
> $ iconv -f iso8859-1 -t utf-8 /usr/share/aptitude/README | less
> $ vim -M /usr/share/aptitude/README
> $ lynx /usr/share/aptitude/README
Um, what results do you *get* with these commands?
> Variable results with Seamonkey, ELinks, less, more, etc.
Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: