by sean lancaster.
Name | Information | Report | Status |
---|---|---|---|
unicode | It is required that you store all your data in Unicode format (UTF-8). New installations must be performed into databases that have their default character set as Unicode. If you are upgrading, you should perform the UTF-8 migration process (see the Admin page). | Check | |
php_extension | intl | Intl extension is used to improve internationalization support, such as locale aware sorting. | Check |
moodle | OK |
Everything after this is OK.
When I open phpMyAdmin I can see:
- Server charset: UTF-8 Unicode (utf8)
So, I don't know what to do to convince Moodle of this.
I did go into the database for Moodle and I can see the Collation is: latin1_swedish_ci, but I am getting close to being over my head. I tried to run a SQL Query with:
mysqldump -uusername -ppassword -c -e --default-character-set=utf8 --single-transaction --skip-set-charset --add-drop-database -B dbname > dump.sql
cp dump.sql dump-fixed.sql
vim dump-fixed.sql
:%s/DEFAULT CHARACTER SET latin1/DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci/
:%s/DEFAULT CHARSET=latin1/DEFAULT CHARSET=utf8/
:wq
mysql -uusername -ppassword < dump-fixed.sql
And I updated the username, password, and database appropriately, but I just get errors when I do this.
I am using the hosting company LunarPages (if that helps), but I am not using a CPanel install; this is being upgraded from a fresh install and I don't use plugins or mods on my installs. Thanks.