Here is a simple example to illustrate the problem. Say I have an html page like below.
<html>
<head> <title> First page</title> </head>
<body> Hello : 確認</body>
</html>
When I open this page in browser I get below test:
Hello : 確認
I want to use java script to convert 確認
to above symbols and assign it to a string variable. How It can be done. I looked through several posts on this site but can not find a solution. Please help.