Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2009 18:36:10 -0500
From:      Chuck Robey <chuckr@telenix.org>
To:        FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Subject:   How NOT to use multibytes
Message-ID:  <49726B6A.2060606@telenix.org>

next in thread | raw e-mail | index | archive | help
-----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-----



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