Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Nov 2011 21:29:09 -0600
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Cc:        DStaal@usa.net
Subject:   Re: "Unprintable" 8-bit characters
Message-ID:  <20111108212909.4549a29d@cox.net>
In-Reply-To: <55A813557C42D92761C1B590@mac-pro.magehandbook.com>
References:  <20111108184236.3a78ebf6@cox.net> <201111090117.pA91HRDo065662@mail.r-bonomi.com> <20111108195804.6dfa47c8@cox.net> <55A813557C42D92761C1B590@mac-pro.magehandbook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 08 Nov 2011 21:27:16 -0400
Daniel Staal <DStaal@usa.net> wrote:

> --As of November 8, 2011 7:58:04 PM -0600, Conrad J. Sabatier is
> alleged to have said:
>=20
> > So, what would be the safest bet as far as the most "universal"
> > representation for these characters?  Something I've long wondered
> > about when I've e-mailed people and copied/pasted these characters
> > (are they really seeing what I'm seeing?).  :-)
>=20
> --As for the rest, it is mine.
>=20
> These days, the safest bet is UTF-8, or some other Unicode character
> set, in something that can convey what character set it is in.
> (Email can, depending on the mail client.)
>=20
> Not that Unicode is universal yet, but it designed to be (and is,=20
> generally) a solution to the 'multiple character encodings' problem.
> (By, of course, defining a new encoding.)  It has a decent amount of
> traction, and in a decade or so - once other options have been firmly
> depreciated - I'd expect we could start discussing whether to switch
> ls to using it by default.  ;)
>=20
> All this is of course if you *must* go beyond 7-bit ASCII.  (Which
> all forms of Unicode is designed to be a strict superset of.)

That sounds sane and sensible.  :-)

I've adjusted my environment to include:

export LANG=3Den_US.UTF-8
export LC_ALL=3Den_US.UTF-8

And also adjusted my console configuration to display these characters:

font8x14=3D"iso-8x14"
font8x16=3D"iso-8x16"
font8x8=3D"iso-8x8"

And, last but not least, aliased "ls" to ensure these characters will
actually be displayed:

alias ls=3D'ls -Fw'

Looking good here now:

conrads:~$ cd "Music/Progressive Rock/Yes/The Yes Album"
conrads:~/Music/Progressive Rock/Yes/The Yes Album$ ls *03*
Yes - The Yes Album - 03 - Starship Trooper: a. Life Seeker - b.
Disillusion - c. W=FCrm.mp3

Many thanks to everyone for all the very helpful, useful information.

--=20
Conrad J. Sabatier
conrads@cox.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111108212909.4549a29d>