Knowledge Base
MilesWeb / Shared Hosting FAQ

“Unicode format UTF-8” error when installing moodle manually

Approx. read time : 2 min

Moodle is an open-source PHP based web application for producing modular internet-based courses that support a modern social constructionist pedagogy. When installing it on your web hosting account manually, you might receive an error as below.

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).

As the error says, issue is with the default character set under your database. To fix it, you will have to change the Collation for your database to utf8_unicode_ci.

Login to your cPanel & access phpMyadmin. Click on the correct database which is being used for installing Moodle.

Click on Operations & select the Collation to utf8_unicode_ci from the dropdown. Click Go button so that the correct Collation will be applied on the database.

Unicode format UTF-8

Now, try proceeding Moodle installation.

We recommend to use Softaculous (auto installer) to install moodle. It saves your time & installs moodle in few clicks. Softaculous is available with our Moodle shared hosting plans.


With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.