How NOT to use multibytes

Chuck Robey chuckr at telenix.org
Sat Jan 17 16:11:57 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This might seem an odd problem ... I spend my computertime developing, and don't
really have much care for my own personal use of multibyte character sets, at
least when I playing with the shell or in an editor.  I just finished fixing a
problem in a host I was logging into, where it was giving me strange characters
in a simple make listing.  It turned out to be that LANG and LC_ALL were set so
that things like quotes (which I would really rather have be the same ' which
I'm used to), was the "lsquo" and rsquo" multibyte character sequences.  I
suppressed the settings of LANG and LC_ALL, and then the problem evaporated.

My problem here is that (1) this seemed like it was probably the wrong way to
fix the problem, but (2) all the documentation seems to be telling me how to add
this sort of thing, not to suppress it.  I like it when the correct characters
show up in my browser and mail, but not in the shell or editor sessions.  What's
the right way to get to where I want to be, it's not really to unset those
variables, is it?

BTW, things are just ducky with the browser and mail already,  it's only the
shell things which I need to set right.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklya2oACgkQz62J6PPcoOnyIgCgkCeLhCI1t0CAVLnPwdHDDmZI
6h8AoJOCGLSI4b0Oz81OMhiVboB2S9aq
=4Lkz
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list