DanWSB
May 10th, 2004, 16:51
FreeBSD + files written in Windows + accented/umlauted characters = confusion.

Locally, the characters dont't display (ls -B shows their char code). This carries over to NFS exports. Samba aparrently provides charset info, so they do show up remotely via Samba..

What do I need to do to fix this? (Screenshot (http://neoflux.net/dan/accented.jpg))

I can't find the right terms to google for, nor can I find TFM to R.

Thanks!

bsdjunkie
May 10th, 2004, 17:09
Dont know much about this stuff, but maybe this will help.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-localization.html

socomm
May 10th, 2004, 18:34
FreeBSD + files written in Windows + accented/umlauted characters = confusion


According to your equation

FreeBSD = files written in Windows + accented/umlauted characters + confusion


Hehe :squarecyc .

By the way you can find TFM to R at:


http://www.freebsd.org/handbook


Best of luck.

DanWSB
May 10th, 2004, 19:25
From what I've been able to learn, Windows uses a locale called "CP-1252" and I'm currently using "en_US.ISO8859-1"

How to actually apply this knowledge is beyond me. I've been playing with iconv, because that seems important as far as getting the right characters to display, but I'm having no luck their either.

At the moment, all of this is beyond me, and I would appreciate more hand-holding or newbie-fied documentation, if anyone has such. Thank you!

elmore
May 10th, 2004, 20:13
DanWSB-

I really don't know the answer to this question though I'll do a little research on it in my spare time tonight, perhaps I can come up with something. The link socomm pointed is generally a great place to start looking as it is the FreeBSD bible.

That being said I have a similar setup here at the house and I'll see what I can do with it.

bumbler
May 11th, 2004, 11:05
Could it be as simple as changing your local to US.ISO8859-15? I do that routinely to pickup on the European accented characters. I've tried US.utf-8 (?) but that created some serious trouble with Xterms. For example, here's what I put in my tutorial:

In your ~/.login_conf, uncomment the config lines and put in variables
like --

:charset=iso-8859-15:\
:lang=en_US.ISO8859-15:

Then, in your .bashrc, or some similar place, try this one --

export LESSCHARSET=iso8859

I'd be very interested in knowing if this does you any good.

Bumbler