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