UTF-8 support and other quirks in the LDAP backend (in 2.2.4).

Alexander Bokovoy a.bokovoy at sam-solutions.net
Tue Jun 18 11:44:03 GMT 2002

On Tue, Jun 18, 2002 at 11:31:16AM -0700, Jeremy Allison wrote:
> On Tue, Jun 18, 2002 at 01:24:12PM -0500, Steve Langasek wrote:
> > 
> > I do hope that tdb ends up going with UTF-8.  UCS2 is not particularly
> > pleasant to work with under Unix; it's not endian-neutral, it doesn't
> > provide ASCII as a compatibility subset, and it has to be converted to
> > something else before it can be used by the majority of Unix tools.
> > Granted, to a certain extent this is already true with tdb because it's
> > a binary format, but making the import/export tools more complex gives
> > you less margin for error.  Unless Samba chooses UCS-2 as an internal
> > format for string processing (which I also don't think is the best idea
> > in the world ;), using UCS-2 as a backend charset seems like an
> > all-around bad idea, IMHO.
> Yes, I think internal format (and format for tdbs) of utf8 seems
> like the best idea (IMHO).
There is a problem with utf8 for many fixed-size records in various tdbs.
Also, most of data is in UCS-2 already.
/ Alexander Bokovoy
Most people have a mind that's open by appointment only.

More information about the samba-technical mailing list