html - Creating web page in non-english language -


i want use non-english language (ex: bengali) in website. using following tag not working.

my project encoding widows-1252. using net-beans 7.0 font arial unicode ms. mandatory change project encoding utf-8 or other ways there? please

<%@ page     language="java" contenttype="text/html; charset=utf-8 pageencoding="utf-8"  %> <meta  http-equiv="content-type" content="text/html; charset=utf-8">  <table >         <tr >               <td >বাঙালি </td>         </tr> </table> 

is mandatory change project encoding utf-8 or other ways there?

you can use encoding supports characters need (widows-1252 won't job since latin alphabet). support unicode (which supports every language) has been excellent since around turn of century. should have been using new projects last decade , half.

other changing encoding supports characters need, can use html character references. typically be:

decimal numeric character reference ampersand must followed "#" (u+0023) character, followed 1 or more ascii digits, representing base-ten integer corresponds unicode code point allowed according definition below. digits must followed ";" (u+003b) character.

since character references expressed in ascii characters, can express them in encoding (as build on top of ascii).


Comments