Dear kteo,
Quote:
Originally Posted by PremiumHost
Log in SSH and try this command
mysqld --character-set-server=ISO-8859-7
Change in php.ini will not help because you want to configure mysql default charset.
|
You can also do this by editing your MySQL Configuration File.
vi /etc/my.cnf
Code:
[mysqld]
character_set_server = ISO-8859-7
default-character-set = ISO-8859-7
.
.
.
Edit your php.ini
Note: my path for php.ini is /usr/local/lib
vi /usr/local/lib/php.ini
Code:
mbstring.internal_encoding=ISO-8859-7
mbstring.http_input=auto
mbstring.detect_order=UCS-4, UCS-4BE, UCS-4LE, UCS-2, UCS-2BE, UCS-2LE, UTF-32, UTF-32BE, UTF-32LE, UCS-2LE, UTF-16, UTF-16BE, UTF-16LE, UTF-8, UTF-7, ASCII,ISO-8859-2, ISO-8859-1, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, ISO-8859-10, ISO-8859-13, ISO-8859-14, ISO-8859-15, BASE64, EUC-JP, SJIS, eucJP-win, SJIS-win, ISO-2022-JP, JIS
mbstring.substitute_character=none
Best Regards.