Author Topic: [Q] move to unicode utf-8 ?  (Read 6919 times)

0 Members and 1 Guest are viewing this topic.

Offline abdoh2010

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Racing 4 Education
[Q] move to unicode utf-8 ?
« on: June 20, 2005, 02:24:42 AM »
Hello every one

I tried before to move my website to Unicode but unfortunately I didn’t make it right

So I winder, what is the correct way to move to Unicode utf-8
I have the root on my server, so if it help? Tell me about it

Offline abdoh2010

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Racing 4 Education
Re: [Q] move to unicode utf-8 ?
« Reply #1 on: December 22, 2007, 01:53:41 AM »
i know that it's an old question but i need to know the answer

Offline abdoh2010

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Racing 4 Education
Re: [Q] move to unicode utf-8 ?
« Reply #2 on: December 23, 2007, 05:50:39 AM »
it's ok i got it

open the file includes/db_mysql.php

look for
Code: [Select]
return $this->connection;it should be at line 51

add over it
Code: [Select]
mysql_query("SET NAMES 'utf8'");
and that's all

information source:
http://www.adviesenzo.nl/examples/php_mysql_charset_fix/