I've a text as Bharat
written in hindi in PDF.
I am creating a web page where in i need to display this as it is in my webpage. when trying to copy the content and paste it is getting rendered as some garbled text. I've installed the corresponding font and when seen in ms-word it is showing correct, can you please let me know how can i show/display it as it is.
I get the below when i paste it directly.
fpfdRlh;
Thanks
Make sure you save the files as using UTF-8 encoding. Also use UTF-8 as the webpage's charset in the head.
<meta charset="utf-8" />
EDIT: I just tried this and it works great for me. Could it be a browser issue?
Code I tried for reference:
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<h1>देवना</h1>
</body>
</html>
And a JsFiddle for you: http://jsfiddle.net/zuymyz00/