Jump to content

Strange encoding problem with Prestashop 9


Recommended Posts

When using the new version 9 of Prestashop, after adding a Bulgarian language pack and translating, for example, the categories, they come out like monkeys, as if the encoding was wrong. The same thing happens with any text translated through the interface. The bug occurs only when installing version 9 (even a new one). The database has a collation of utf8mb4_unicode_ci. If the old version 8.2. of Prestashop is installed, such a problem is not observed;. What could be the cause of this error?

As you can see - the imported language is ok, but when I try to translate anything the collation looks different.

Screenshot from 2025-06-26 22-18-44.png

Screenshot from 2025-06-26 22-20-48.png

Link to comment
Share on other sites

What can you do?

Open an Issue on GitHub:
Report your problem directly to the PrestaShop team here:

https://github.com/PrestaShop/PrestaShop/issues

Try Forcing the Correct Charset:
As a test, you can add this to your app/config/parameters.php (or wherever your DB settings are defined):

'charset' => 'utf8mb4',

And make sure your database and all tables/columns use utf8mb4_unicode_ci.

Temporary Workaround:
If you need a working solution immediately, stick with PrestaShop 8.2 until this is patched in v9.

Summary:
This is a new bug in PrestaShop 9 related to language encoding. Your settings are correct. Open a detailed issue on GitHub to help the team fix this faster.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...