[TYPO3-dev] Index of table sys_refindex
    Dmitry Dulepov 
    dmitry at typo3.org
       
    Mon Nov  6 10:31:24 CET 2006
    
    
  
Hi!
Wolfgang Klinger wrote:
>  So you say that TYPO3 communicates with a new MySQL (> 4.1, 5) in
>  a correct way directly in UTF-8?
Yes.
>  Wouldn't it be at least necessary to set
> ----
> mysql_query('SET NAMES utf8',$this->link); 
> mysql_query('SET CHARACTER SET utf8',$this->link);
> ----
>  in t3lib_db to make this work?
Depends on my.cnf settings.
>  I know that we don't store UTF-8 data in latin1, but we simply don't
>  tell MySQL that it's UTF-8 (IMHO).
It is not necessary if server is setup for utf-8 charset. If database is 
utf-8 and tables are utf-8 and connection is utf-8, server will expect 
utf-8 data. It is all controlled by settings in my.cnf. If they are not 
set to utf-8, it can be changed by those "SET" things.
-- 
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
    
    
More information about the TYPO3-dev
mailing list