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

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -