Peter Ruskin schrieb:

> ...but in konqueror the file is correctly displayed as "blöder name"

Yes. Seems like Konqueror doesn't care about system settings
and stores the filenames in non-UTF-8.

Anyway, I now managed to install NFS on the NAS box. With
NFS, I can now easily and successfully create filenames
with non-ASCII characters, like "blöder name". But
when I access the share from Windows (or rather: via
SMB), the filenames are still mangled :(

What I'm after is a way for Samba to transform filenames
from the stored (on disk) UTF-8 name to cp850 (or
whatever).

The NAS box is running Samba 2.2.8a.

Can Samba 2.2.8a do this? With Samba 3, this would be
possible, wouldn't it?

If Samba 2 could do this, how/what would I configure?
I suppose "client code page" and "character set" are
the relevant settings? What are the allowed values for
"character set"?

Are the "nftable" files in /usr/share/codepage the allowed
values? If so, then Samba 2 (or at least that installation)
doesn't handle UTF-8; only iso-8859-x and some cpX values.

Or would "find /lib/modules/$(uname -r) -name nls*.o" reveal
me the allowed values? If so, "UTF8" would be a good value -
but even with "character set = UTF8", I can't get a good
translation. "blöder name" translates to "bl├Âder name"
on Windows :(

Can Samba 2 do UTF-8 filename translation?

Thanks,

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list

Reply via email to