[horde] Fwd: Re: UTF-8 Charset problem in horde

Ruediger Stark mail at stark-online.info
Wed Nov 16 04:58:45 PST 2005


well, okay. this doesn't work for me.
If i want to use 'Rüdiger' as a login, i have to write 'Rüdiger' in 
the database.

conf.php (part of it):

?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: horde/config/conf.xml,v 1.74.2.14 2005/08/23 17:14:42 
mrubinsk Exp $
[...]
$conf['sql']['charset'] = 'iso-8859-1';
$conf['sql']['phptype'] = 'mysql';
[...]
$conf['prefs']['params']['charset'] = 'iso-8859-1';
[...]
$conf['datatree']['params']['table'] = 'horde_datatree';
$conf['datatree']['params']['charset'] = 'iso-8859-1';
$conf['datatree']['params']['driverconfig'] = 'custom';
$conf['datatree']['driver'] = 'sql';


I made two screenshots. The horde_users in phpAdmin is found at

http://www.stark-online.info/tests/horde_users.png

The login page at:

http://www.stark-online.info/tests/login.png

As you can see the login page is in UTF-8, the database in ISO-8859-1. 
But the conversion doesn't work i expected. The username horde log in 
is Rüdiger, not Rüdiger.

Thanks for the help.

Rüdiger


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Ruediger Stark <mail at stark-online.info>:
>
>> Do i understand this correctly, that i should be able to type in UTF-8
>> on (for example) login page in horde, and since i told horde that my
>> database is iso-8859-1, it should convert that to iso before writing to
>> the database?
>
> Correct.
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the horde mailing list