If your wordpress site don't show malayalam or any other fonts then no need to worry. It is a simple problem in your database.
Problem
Post title and post content accepts malayalam font and when you publish the post then it displays only ???????? characters.
Before publishing : After pasting malayalam texts in title and content page, It looks like below
After publishing : Title and content page looks like below
Solution
The problem is that your database encoding format don't support malayalam character encoding. So we should change database encoding into any other encoding form that support malayalam fonts. To correct this problem do the following operations
Goto your cpanel --> click PHPMyAdmin --> select your database --> select posts table --> select structure. Then the table looks like below
Change your column collation from latin_swedish_ci (or any other format) to utf8_general_ci
Now you can add malayalam fonts in your post.
No comments:
Post a Comment