[TYPO3] problem with special characters

J.Bakshi joydeep at infoservices.in
Fri Apr 25 11:18:24 CEST 2008


Dear list,

I have problem with special characters after migrating a typo3 powered
site from a remote server to the local server.
The remote site is working well, but after migrating in the local
server, some characters have been append by "?" symbol.

 I have modified the t3lib/class.t3lib_db.php and add a line

$this->admin_query('SET CHARACTER SET utf8'); after the line $this->link
= @mysql_pconnect($TYPO3_db_host, $TYPO3_db_username, $TYPO3_db_password);

so now it looks like


~~~~~~~~~~~~~~~~~~~~
$this->link = @mysql_pconnect($TYPO3_db_host, $TYPO3_db_username,
$TYPO3_db_password);
$this->admin_query('SET CHARACTER SET utf8');
~~~~~~~~~~~~~~~~~~~~~~~~

Now the "?" symbols have been changed to special characters BUT some
special characters of the same site which are appearing before in this
local server have been changed to  "?"  symbol.

What to do so that I get back those special characters too which was
showing before adding the
$this->admin_query('SET CHARACTER SET utf8');

thanks

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joydeep Bakshi, Linux System Admin
Kolkatainfoservices Pvt Ltd,
23A Royd Street, Kolkata 700016, India
Work Phone 91 033 40014784
http://infoservices.in/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the TYPO3-english mailing list