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

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -