Arabic text in Database got garbled

Today, out of the blue, my MySQL database started garbling Arabic text entries. Here’s how I fixed it.

I downloaded mysql backup, copied the lines with Arabic text.

Used this website https://string-functions.com/encodedecode.aspx

Convert from Windows-1252 to utf-8

After the conversion, I created a new database and restored the .sql file.


Leave a Reply

Your email address will not be published. Required fields are marked *