Architcecture for winbindd client character conversion.

Colin Watson cjwatson at ubuntu.com
Wed Aug 29 09:30:31 GMT 2007


On Wed, Aug 29, 2007 at 07:41:21AM +0200, Christian Perrier wrote:
> (discussion in samba-technical about encoding used by winbindd)
> 
> Jeremy Allison:
> > > Why ? Because the default locale is en_US, and winbindd defaults
> > > to unix charset of utf8.
> 
> Simo Sorce:
> > The bug is in Ubuntu not using utf8 as their default locale or in Ubuntu
> > not setting unix charset = iso8859-1 in smb.conf
> 
> Hmmm.
> 
> As far as my understanding goes, Ubuntu *does* use UTF-8 locales by
> default, just like we do in Debian since etch (except for a few
> languages, such as Bulgarian, because of a mistake of mine..but
> English is definitely not among these).
> 
> That should be confirmed by a Ubuntu developer (Colin Watson CC'ed,
> even if I do it with his Debian address) but I would be surprised if
> they don't do UTF-8 by default.
> 
> However, the switch to "full UTF-8" probably happened in Ubuntu
> between 2005 and 2007, roughly at the moment the Debian Installer
> itself switched to full UTF-8 (the different release schedules between
> Debian and Ubuntu do not help figuring when this happened exactly from
> my side). Colin will certainly be more precise than me.

Christian is correct; Ubuntu switched to UTF-8 by default in our 5.04
release in April 2005, which was our second release out of six to date.
Of course a proficient user could still select a legacy non-UTF-8
encoding manually.

Regards,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]


More information about the samba-technical mailing list