The Samba-Bugzilla – Bug 122
smbclient ignores Unix locale settings when choosing a charset
Last modified: 2005-08-24 10:18:20 UTC
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]
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().
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.