[TYPO3-UG Dutch] UTF-8

Ronald Wopereis woepwoep at gmail.com
Mon Jul 14 10:35:04 CEST 2014


gevonden !

ligt idd aan WFQBE

stukje code uit tx_wfqbe_connect::connectNow() :

*            $h = NewADOConnection("mysql"); // TODO: correct this for DBAL
compatibility*
*            $resultConnection = $h->Connect(TYPO3_db_host,
TYPO3_db_username, TYPO3_db_password, TYPO3_db);*
*            if ($resultConnection) {*
*                global $TYPO3_CONF_VARS;*

*$h->query('set names utf8;'); // RW added 2014-07-14*
*                if ($TYPO3_CONF_VARS['SYS']['setDBinit']!='')   {*
*                    //$h->query($TYPO3_CONF_VARS['SYS']['setDBinit']);*
*                    $statements = explode(';',
$TYPO3_CONF_VARS['SYS']['setDBinit']);*
*                    foreach ($statements as $statement) {*
*                        $h->query($statement);*
*                    }*
*                }*
*                return $h;*


door het *vetgedrukte statement* toe te voegen krijg ik keurig utf8 ipv de
native charset.

blijkbaar wordt setDBinit niet meer gebruikt in 6.2 ?
in 4.7 was het al niet meer mogelijk om iets anders erin te zetten dan "set
names utf8;"

ik merk nu dat NewADOConnection dit niet automatisch overneemt,
dus nu vroeg ik mij af hoe je dan kan meeliften op de automatische dbInit
settings van TYPO3 6.2 (zoals de genoemde query "set names utf8;")

alvast bedankt,
R


Op 11 juli 2014 23:09 schreef Ronald Wopereis <woepwoep at gmail.com>:

> ik zit net te denken,
> het zou nog aan EXT:wfqbe kunnen liggen,
> die gebruik ik namelijk.
>
> phpmyadmin en userFunc komen overeen,
> de afwijking zit hem in wfqbe.
>
> any ideas?
> R
>
>
> Op 11 juli 2014 22:35 schreef Ronald Wopereis <woepwoep at gmail.com>:
>
> > ja zou goed moeten zijn,
> > probleem begon bij 6.2,
> > nooit eerder gehad.
> >
> > config.locale_all = nl_NL.utf8
> >
> > system('locale -a') geeft : C POSIX de_DE.utf8 en_GB.utf8 en_US.utf8
> > es_ES.utf8 fr_FR.utf8 hu_HU.utf8 it_IT.utf8 nl_NL.utf8 ru_RU.utf8
> >
> >
> > thx,
> > R
> >
> >
> > Op 11 juli 2014 18:20 schreef Jacco van der Post <
> > jacco at id-internetservices.com>:
> >
> > > Hoi Ronald,
> > >
> > > Locales van de server gecheckt?
> > >
> > > Ronald Wopereis schreef op 10-7-2014 23:17:
> > >
> > >  hi all,
> > >>
> > >> database is UTF-8,
> > >> install tool heb ik UTF-8 gedefiniëerd.
> > >>
> > >> en toch komen vreemde tekens tevoorschijn als ik ophaal met T3
> > >>
> > >> wat gaat er mis?
> > >>
> > >> thx, R
> > >>
> > >>
> > >
> > > --
> > > Kind Regards
> > >
> > > Jacco van der Post
> > >
> > >
> > > _______________________________________________
> > > TYPO3-UG-Dutch mailing list
> > > TYPO3-UG-Dutch at lists.typo3.org
> > > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
> > >
> >
> >
> >
> > --
> > http://about.me/woepwoep
> > _______________________________________________
> > TYPO3-UG-Dutch mailing list
> > TYPO3-UG-Dutch at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
> >
>
>
>
> --
> http://about.me/woepwoep
> _______________________________________________
> TYPO3-UG-Dutch mailing list
> TYPO3-UG-Dutch at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-dutch
>



-- 
http://about.me/woepwoep


More information about the TYPO3-UG-Dutch mailing list