Awesome! 1 step forward!
mickey said:
I have this:
Code:
unix charset = iso-8859-15
display charset = iso-8859-15
But I suppose that makes no difference. -15 is -1 plus Euro sign, and according to the man page, the
display charset is only used for messages to stdout/stderr.
I wonder though, whether samba expects it to be "ISO8859-XX" or "iso-8859-XX", or if it doesn't really care.
I have tried both ways, without success!
Still cannot get Samba to quit mangling the filenames....
However, I can now create and display filenames with those characters locally on FreeBSD.
mickey said:
My login.conf file is the standard one, that comes installed with FreeBSD. No charset or other relevant settings defined there. Would not make much sense either, as GDM since 2.26.X ignores settings from login.conf anyways.
This is where the success starts!
I have to have the locale set to ISO8859-1 ... How to do it other than the login.conf is unknown to me, from what I gather from the man pages, this is the correct method...
Correct or Incorrect???
Hopefully someone in the know will respond.
mickey said:
My locale settings are a bit more esoteric
Code:
LANG=en_US.ISO8859-15
LC_TIME=en_GB.ISO8859-15
LC_MONETARY=de_DE.ISO8859-15
LC_CTYPE=de_DE.ISO8859-15
LC_COLLATE=de_DE.ISO8859-15
LC_MESSAGES=en_US.ISO8859-15
LC_NUMERIC=de_DE.ISO8859-15
Ya think ... Wow!
Seems to me that would be confusing to the system.
mickey said:
What font are you using on the console?
In my /etc/rc.conf, I have the following:
Code:
font8x8="iso15-8x8.fnt"
font8x14="iso15-8x14.fnt"
font8x16="iso15-8x16.fnt"
Maybe the characters are correct, but the current font is not able to display them correctly?
THAT'S IT!!!!!!
After adding the following to rc.conf
Code:
[INDENT]font8x8="iso-8x8.fnt"
font8x14="iso-8x14.fnt"
font8x16="iso-8x16.fnt"
[/INDENT]
NOTE the difference! (standard 8859-1 (iso-), not 15 (iso15-) as you have)
I can now do 'ls' or 'find' and the correct characters are displayed.
Why this all is not set during installation when language is selected is beyond me. IMNSHO it should be!
So this is what I had to change to properly handle the proper display of high characters. ("é,Ö,á" etc...)
login.conf
(I wound up adding it to default (this is a private system), It really should not be, It should be added to the appropriate section. don't forget cap_mkdb)
Code:
[INDENT]:charset=ISO8859-1: \
:lang=en_US.ISO8859-1: \
[/INDENT]
rc.conf
Code:
[INDENT]font8x8="iso-8x8.fnt"
font8x14="iso-8x14.fnt"
font8x16="iso-8x16.fnt"
[/INDENT]
With those two changes I can now create and display those high characters from the FreeBSD console.
Now I can totally focus on Samba ...
Any other ideas???
Mickey, Thank you very very much for your input.
It has been very helpful.
-Enjoy
fh
: )_~