Date: Fri, 22 Apr 2005 09:36:00 -0400 From: "Michael W. Oliver" <michael@gargantuan.com> To: Joel <rees@ddcom.co.jp> Cc: questions@freebsd.org Subject: Re: special characters and how they are represented Message-ID: <20050422133600.GE86130@gargantuan.com> In-Reply-To: <20050422163355.1998.REES@ddcom.co.jp> References: <20050421231414.GC86130@gargantuan.com> <20050422163355.1998.REES@ddcom.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--84ND8YJRMFlzkrP4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005-04-22T18:16:24+0900, Joel wrote: >> 1) ls --> this shows "M?tley_Cr?e" as directory name >> 2) ls | more --> this looks right, with umlaut over o and u >> 3) ls M<TAB> --> this shows "M\366tley_Cr\374e" (backslash366 & >> backslash374, respectively), using csh as my shell w/set complete and >> set autolist >> my question is... why the differences?=20 >=20 > Well, I could guess that the CD file system uses one encoding and your > OS uses another and each application makes different assumptions? well, the CD just contains the music, not any textual information. i was using ripit.pl to do the ripping/encoding, so it created the dir automatically with information retrieved from CDDB. >> is there a way to force >> consistent behavior across all three scenarios? >=20 > Probably take a little work in your LOCALEs, may not be completely > successful. yes, you pointed me in the right direction. my earlier google searches were missing that word -- locale. with an improved search, i found the following handbook page: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localizatio= n.html and it had all of the answers. in short, i changed my ~/.login_conf to read: me:\ :charset=3Diso-8859-1:\ :lang=3Den_US.ISO8859-1: and i now have consistent behavior and character representation. thanks much for the hint! --=20 Mike Oliver [see complete headers for contact information] --84ND8YJRMFlzkrP4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCaP3AsWv7q8X6o8kRAtUiAJsEbNz6t6DI1T0NCNpKKwQFKPPKZgCeNkHo MW++2sxAimU2BFMK3YFhUbM= =FmcU -----END PGP SIGNATURE----- --84ND8YJRMFlzkrP4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050422133600.GE86130>