Having title in other languages turns all content into gibberish

Posted in: Newspaper
Post count: 4

I’m encountering something very unusual on the site – I’m running a multisite setup (latest WP and Theme version) where each region gets its own subsite.

When I was attempting to publish a post in Thai (or Chinese), I noticed that having non-latin characters in the title will turn the entire site into gibberish (screenshot here: http://prntscr.com/h19x40). Having non-latin characters will appear normally if the title works fine however (screenshot here: http://prntscr.com/h19swu)

Disabling the theme will display all characters properly (screenshot here: http://prntscr.com/h19wmh)

After several tests, I discovered that this behaviour does not appear on our first 2 subsites (non-latin characters works fine), but will happen from the 3rd subsite onwards.

Do you have any idea what is going on here, and what we can do to have it fixed?

Post count: 20688

Hi,

It could be font related, maybe the font used cannot interpret the language characters. For me when I enter Thai text, it is displayed like this (default theme fonts)
https://www.screencast.com/t/isJdQPUtq
Or Chinese text – https://www.screencast.com/t/nyw3cqDjH
Maybe try loading some language specific fonts and make some tests, also enable the subset for specific language
https://www.fontsquirrel.com/fonts/list/language/thai
https://cooltext.com/Download-Font-%E7%B2%97%E6%A5%B7%E4%BD%93%E7%AE%80+Kai+Bold
https://forum.tagdiv.com/font-customization/

Thanks

Post count: 4

Hi Simion,

Thanks for the prompt reply. However, I really doubt it’s font settings related, as I’ve previously mentioned:

1. Title and content displays properly on first two subsites (we’re using a Multisite setup)
2. Despite having similar settings and plugins on, posts displays gibberish from 3rd site onwards when post title has non-latin characters. http://prntscr.com/h19x40
3. Yet, content in Thai (and Chinese) works well on all sites when post title is using latin characters http://prntscr.com/h19swu
5. When theme is disabled, no such problems. http://prntscr.com/h19wmh

But just to test, I’ve tried downloading and using Kanit, but the same problem persists.

Appreciate when you can look into this. Thanks again.

Post count: 20688

Hi,

I have tested this as shown with the theme, in a test post. There is no problem displaying content in the languages you mention, using default settings and fonts. It could be the database used by the theme. Maybe you find a solution in these topics
https://codex.wordpress.org/Converting_Database_Character_Sets
https://www.tipsandtricks-hq.com/how-to-fix-the-character-encoding-problem-in-wordpress-1480
https://theblogpress.com/blog/seeing-weird-characters-on-blog-how-to-fix-wordpress-character-encoding-latin1-to-utf8/

Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.