javascript - JS not recoganizing Japanese charecters -


i putting japanese text in div @ run time these characters shown boxes , triangles..

here head portion of html page

<meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="initial-scale=1.0"> 

and here how putting text in div

if (getqscomponent(qskeys.langid) == 1) {         $('#title').text("情報");          $('#message').text("プロセスが正常に完了しました。");             } 

<script charset="euc-jp" src="jp.js"></script> 

or

<script charset="euc-jp"> if (getqscomponent(qskeys.langid) == 1) {     $('#title').text("情報");     $('#message').text("プロセスが正常に完了しました。"); } </script> 

--
in tag <meta>, :

<meta http-equiv="content-type" content="text/html; charset=utf-8"> 

Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -