Reputation: 247
I am trying to develop a phone gap application with malayalam language but it is not showing in web-kit browser. anyone have answer for this?
Upvotes: 0
Views: 621
Reputation: 4292
unicode fonts will render properly in cordova webview
just add this in html header <meta charset="utf-8" />
Upvotes: 0
Reputation: 1136
Not all android phone does not support Malayalam Unicode font, and you need to convert Unicode font to ascii font to display Malayalam in all devices.
this may help in your condition.
First you need to convert Unicode font characters to Ascii font using java code(Use any Unicode font like ML_TTKARTHIKA.ttf).
use @fontface font attribute in html to display ascii font to Malayalam characters
For more help: Refer this question
Upvotes: 1
Reputation: 1792
You need to have a unicode font that has the malayalam characters (one of these, for example) and generate the webfont support for it.
Add the font and the webfont style to the css folder in your project. Load them in the index.html and add the font to the css body declaration.
Upvotes: 0