> hi folks. this may seem uber-simple to some of you, but i'm ignorant
(B> regarding this. your help is appreciated.
(B
(BJust so you know, this is not a particularly trivial issue. (But things
(Bare improving.)
(B
(B> so, i have this album from Mvtley Cr|e (that looks right in vim, my
(B> editor for mutt), and i have ripped it to FLAC and put it on my file
(B> server. on the server, however, the directory name doesn't look like
(B> that. well, it does if i pipe ls through more (ls | more). here are
(B> the scenarios:
(B>
(B> 1) ls --> this shows "M?tley_Cr?e" as directory name
(B> 2) ls | more --> this looks right, with umlaut over o and u
(B> 3) ls M<TAB> --> this shows "M\366tley_Cr\374e" (backslash366 &
(B> backslash374, respectively), using csh as my shell w/set complete and
(B> set autolist
(B>
(B> my question is... why the differences?
(B
(BWell, I could guess that the CD file system uses one encoding and your
(BOS uses another and each application makes different assumptions?
(B
(BAlso, some text editors will recognize your non-Latin characters, find
(Bthe font, and display them. Some deal well with code points they don't
(Brecognize and show the numeric value of the code point (\nnn). Some
(Bprint garbage.
(B
(BThere first thing to do is to figure out what the character encoding on
(Bthe CD is. But that likely requires you to know what character
(Bencoding(s) your tools are expecting, so the other first thing to do is
(Bfigure out what encodings your tools and OS are expecting.
(B
(BI know Linux is moving away from euc to Unicode, and is still in process.
(Blast I remember, but I am not up to date on what freebsd is doing in
(Bthis respect. (Lazy of me, I know.)
(B
(B> is there a way to force
(B> consistent behavior across all three scenarios?
(B
(BProbably take a little work in your LOCALEs, may not be completely
(Bsuccessful.
(B
(B
(B--
(BJoel Rees <[EMAIL PROTECTED]>
(Bdigitcom, inc. $B3t<02qhttp://www.ddcom.co.jp> **
(B
(B_______________________________________________
([email protected] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"