Hth, Thomas -----Ursprüngliche Nachricht----- Von: dokuwiki-bounce@xxxxxxxxxxxxx [mailto:dokuwiki-bounce@xxxxxxxxxxxxx] Im Auftrag von Andreas Gohr Gesendet: Sonntag, 22. April 2007 12:21 An: dokuwiki@xxxxxxxxxxxxx Betreff: [dokuwiki] Re: mysql class patch to enforce use of specified charset 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