Opened 11 years ago

Closed 11 years ago

#234 closed enhancem. (fixed)

Configuration wizard should use SYSTEM charset by default

Reported by: dmik Owned by: Herwig Bauernfeind
Priority: Feedback Pending Milestone:
Component: Unknown Version:
Keywords: Cc:

Description

I think that when the configuration wizard creates the initial configuration, it should use the "SYSTEM" charset for all of dos/unix/display charset settings, not "IBM-850" (which is a strange choice in any non-European country). As far as I understand "SYSTEM" means the current system codepage. This will cause Samba to use the system codepage both locally (which is obviously correct) and when talking to DOS clients (which is also correct as clients that have a different 8-bit local encoding won't be able to show the correct file names anyway).

I have two OS/2 machines. Setting all charsets to SYSTEM on both of them is the only way when they see each other's national (cyrillic in this case) file names correctly through the ndpsmp plugin (which uses the same smb.conf as the server AFAIR). Also, from my iMac (which is UTF-8 everywhere) I see correct file names on both machines w/o touching any configuration files.

Change History (3)

comment:1 by Herwig Bauernfeind, 11 years ago

Much earlier Samba builds (early 3.0.x) used SYSTEM per default, however we had problems using umlauts in western european countries - that's why this change was introduced. There ought to an ancient ticket to this issue.

Currently there is no detection tried in sscc.exe, however I could add this.

comment:2 by Silvan Scherrer, 11 years ago

Owner: set to Herwig Bauernfeind
Priority: minorFeedback Pending
Status: newassigned

@herwig any news?

comment:3 by Herwig Bauernfeind, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed in changeset 859

Note: See TracTickets for help on using tickets.