1

How do I change the default charset from UTF-8 to ISO-8859-1 in phpMyAdmin?

wonea
  • 4,783
  • 17
  • 86
  • 139
iMayne
  • 51
  • 1
  • 2
  • 9
  • 3
    I 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 Answers3

4

You need to go to phpmyadmin > information_schema > schemata > change your DEFAULT_CHARACTER_SET_NAME with query

zheek
  • 742
  • 1
  • 11
  • 22
Ismail
  • 634
  • 1
  • 5
  • 11
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
  • Hey Stefan. Where do I find that config.php? Im using wordpress. – iMayne Jan 23 '11 at 11:24
  • 1
    Sorry! 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