[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: automatic charset conversion?

On Fri, 2008-01-18 at 15:40 +0100, Pierangelo Masarati wrote:
> Stefan Palme wrote:
> > Hi,
> > 
> > using an OpenLDAP server installation for several things. One thing
> > is a shared addressbook which is used by different persons with
> > different client applications. Some of them have a locale of
> > "de_DE.utf8", some of them work with "de_DE.latin1", some of them
> > use windows and so have a win-1250-or-whatever encoding.
> > 
> > When creating new addressbook entries these are transfered from 
> > the client to the server in the clients charset encoding. When
> > clients with other encodings read these entries they seem somehow
> > broken - of course.
> > 
> > How to solve this problem? When the server known the "client encoding"
> > the server could automatically convert clients data into e.g. utf8
> > before storing it. Before sending data back to a client it could 
> > convert all the stored utf8-data into client's encoding.
> > 
> > But I did not found a way to tell the server the client's encoding,
> > so this seems to be no way. Are there any working solutions for this?
> LDAP by specs uses UTF-8.  "THE" solution consists in fixing those
> clients that do not comply with specs.

Ah ok, did not know this part of the specs.