[dev] Problem sorting out a problem with charset conversion

Jan Schneider jan at horde.org
Mon Nov 17 08:45:11 PST 2003


Zitat von Etienne Goyer <etienne.goyer at linuxquebec.com>:

> On Sun, Nov 16, 2003 at 01:39:18PM +0100, Jan Schneider wrote:
> > Zitat von Etienne Goyer <etienne.goyer at linuxquebec.com>:
> > > IT is my understanding that LDAP return string in UTF-8.  my
> > > _prefs_hook_fullname does not do any character encoding conversion,
> it
> > > just return the cn as provided by LDAP.  So, somewhere between LDAP
> ->
> > > MySQL prefs table -> output, this pref is converted from UTF-8 to
> > > ISO-8859-1 but is not converted back before being displayed.  Could
> > > this be correct ?  How should I correct, or work-around, that ?
> >
> > This is what it looks like, yes. But looking at your other problems
> with
> > charset conversions, the problem might be anywhere else, though I have
> no
> > idea where.
>
> Somewhat related ... in general, in wich character set are prefs
> expected to be stored ?

In the charset you entered in your preference backend configuration.

> I guess if I could store the prefs in the right character set in the
> first place, it should solve my problem.  Otherwise, there a bug
> somewhere between prefs retrieval -> display.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list