[dokuwiki] Re: mysql class patch to enforce use of specified charset
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sun, 22 Apr 2007 12:21:02 +0200
On Fri, 20 Apr 2007 13:14:21 +0200
Thomas König, ILLUSTREE <thomas.k@xxxxxxxxxxxx> wrote:
> Hi list,
>
> i made a simple patch for the mysql auth class to enforce a character
> set (because i had problems with german umlauts while authenticating
> against a flyspray 0.9.9 database). You simply have to add
> $conf['auth']['mysql']['charset'] = 'utf8'; to your local
> configuration now and all it does is a mysql_query('SET CHARACTER SET
> "' . $this->cnf['charset'] . '"', $con); when the database connection
> is established. Hope this helps anyone,
> Thomas
>
> p.s.: Since this is my first patch, I'm not quite sure if everything
> went right (patchfile seems quite big).
The size is okay (darcs includes some patch history in the patches).
Unfortunately the patch got corrupted during transfer (some mailers
mess with textfiles). Could you resend it as (g)zipped file?
Andi
--
http://www.splitbrain.org
- References:
- [dokuwiki] mysql class patch to enforce use of specified charset
- From: Thomas König, ILLUSTREE
Other related posts:
- » [dokuwiki] mysql class patch to enforce use of specified charset
- » [dokuwiki] Re: mysql class patch to enforce use of specified charset
- [dokuwiki] mysql class patch to enforce use of specified charset
- From: Thomas König, ILLUSTREE