How do I change the default charset from UTF-8 to ISO-8859-1 in phpMyAdmin?
Asked
Active
Viewed 2.5k times
1
-
3I wonder why someone would want to do that ? UTF-8 can display characters of every language, 8859-1 can only display characters of western european languages (and not even a Euro sign). – DarkDust Jan 23 '11 at 11:28
3 Answers
4
You need to go to phpmyadmin > information_schema > schemata >
change your DEFAULT_CHARACTER_SET_NAME
with query
-
-
1Its on the left side frame you will find it on first bullet and reach to schemata – Ismail Jan 23 '11 at 12:15
-
-
1Tried this and got the following error: `Access denied for user root@localhost to database information_schema` – Timothé Malahieude Mar 01 '18 at 22:54
1
Find your config.inc.php and add or edit the line
$cfg['DefaultCharset'] = 'iso-8859-1';

stivlo
- 83,644
- 31
- 142
- 199
0
You can change the default charset in your config.php
$cfg['DefaultLang'] = 'ISO-8859-1';

zheek
- 742
- 1
- 11
- 22

Stefan H Singer
- 5,469
- 2
- 25
- 26
-
-
1Sorry! It's config.inc.php! It's got nothing to do with wordpress. You find it in your phpmyadmin directory. – Stefan H Singer Jan 23 '11 at 11:25
-
Ohhhhhh. Im not hosting my own server. Im with a company so I doubt I have access to that :( – iMayne Jan 23 '11 at 11:35
-
Well, you could probably upload your own phpmyadmin installation. But if you don't have access to their installation of phpmyadmin on disk, you can't change its config either. – Stefan H Singer Jan 23 '11 at 12:24