From owner-freebsd-questions@FreeBSD.ORG Sun Jan 18 00:11:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 329401065672 for ; Sun, 18 Jan 2009 00:11:57 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 10EB68FC13 for ; Sun, 18 Jan 2009 00:11:56 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 20894 invoked from network); 17 Jan 2009 23:43:54 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 17 Jan 2009 23:43:54 -0000 Message-ID: <49726B6A.2060606@telenix.org> Date: Sat, 17 Jan 2009 18:36:10 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: FreeBSD Questions Mailing List X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: How NOT to use multibytes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 00:11:57 -0000 -----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-----