DEV Community

saboor
saboor

Posted on • Edited on

MySQL charset

I don't know is it the correct place to ask this types of question?
BTW, I have a problem with charset "utf8mb4" of MySQL I have built a website and everything is working fine except Arabic Language here is the case:
I can update and insert new Arabic record on my table through PHP script, when I open workbench or BDeaver I get this character "صبور" which is == "صبور", but on my website I get the correct result, It sound like encrypt and decrypt process.
Here is the opposite, when I update this record through MySQL I get my name which is "صبور" but when I fetch this name on my website I get question mark == "?????"
Any help would be big help thank you in advance

Top comments (1)

Collapse
 
cooltein profile image
Einstein • Edited

They're coming to help you Sir

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay