[dev] Problem sorting out a problem with charset conversion

Etienne Goyer etienne.goyer at linuxquebec.com
Mon Nov 17 06:37:40 PST 2003


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 ?

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.

Thanks again !

-- 
Etienne Goyer                    Linux Québec Technologies Inc.
http://www.LinuxQuebec.com       etienne.goyer at linuxquebec.com


More information about the dev mailing list