Inserting data in Sinhala Language

when inserting data in Sinhala Language it shows as bellow pls help

image

after save the relevant data it shows as below

Capture1

What database are you using? Have you tried to insert the text directly in a database table?