Currently, smbclient uses the value of 'display charset' from smb.conf to decide what character set to use when displaying filenames. This is sub-optimal, because most users of modern Unices that need non-ASCII characters will have configured their locale settings by standard means, and will not want to edit additional per-application config files. Samba should preferentially use the locale information from the native system, and only fall back on 'display charset' if this is unavailable or unsupported. Patch to follow.
Created attachment 16 [details] Patch to add support for setlocale/nl_langinfo querying
Patch applied following discussions with abartlet and vorlon.
Patch was reverted
Created attachment 32 [details] Updated patch Previous patch has been backed out by tridge due to a number of problems. This patch should address his objections, while preserving the previous patch's ability to cope gracefully nl_langinfo() implementations that don't provide suitable input for iconv_open().
accepted patch
Created attachment 38 [details] Patch for associated documentation And a patch for the xml description of this parameter, as well.
Closing this for tridge
originally reported against 3.0aph24. Bugzilla spring cleaning. Removing old alpha versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.