Monday, 26 February 2018

html - marathi language not shown properly in browser



In my html document, I have my html as:




title

विजय कदम





I am getting output as:



विजय कदम


Any idea? what do I need to specify?


Answer




  1. Save your file in UTF-8 encoding


  2. Add meta tag to the html to support UTF-8

  3. Make sure your server supports UTF-8 encoding, an example for Apache.



How to change the page encoding to UTF-8:



Add the following tag to the HTML:



 



Or the HTML5 equivalent:






for more information about characters encoding check this out.


No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...