Jump to content
Sign in to follow this  
vivekrkt

convert html page hindi content into unicode text

Recommended Posts

Hello,

I have a collection of html pages in hindi texts and now I want to convert those into Unicode font as per the demand. So can any one tell me the perfect javascript code that can do this task at the time of page load (without any click event).

Thanks

Share this post


Link to post
Share on other sites

This is probably not a good task for Javascript. Have your HTML editor convert the page to UTF-8. As for the font, you choose that with CSS. You can use the lang attribute to tell the browser which sections are written in hindi, then CSS can select those elements using the :lang() selector and choose a different font.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...