How to Fix Mangled Thai Characters

I'm having font problems, or maybe character encoding on wordpress.

I am building a Thai website, most of the articles are in the correct language and there is no problem.

But there are a number of articles posted when posting errors in the article letters.

Such as:

https://prnt.sc/vswh8j or https://prnt.sc/vswi15

As in the picture I have given, some of the first characters can be Thai, but the following characters are like: ี่๠€ ภ£ ๠‡ วภand I don't translate get it in any language.

I don't think my source code supports Thai or something like that. I have tried researching on this problem a lot and tried many ways but to no avail.

Hope you can guide me to fix it. Thank you very much

Topic fonts characters language Wordpress encoding

Category Web


It has many cases:

  1. check the character encoding in wp-config.php.

    define('DB_CHARSET', 'utf8');
    define('DB_COLLATE', '');
    
  2. check database character encoding

  3. check if the font you use supporting Thai letters

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.