Dear All,
My Web Page need to support displaying Dynamic Chinese Characters. So I use document.write() to print some Chinese that saved in the js file.
coding in JS File:
var stringTemp1 = "ÅwªïÂsÄý";
coding in HTML File
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=big5">
</head>
<body>
<script language=javascript>
var stringTemp2 = "ÅwªïÂsÄý";
document.write(stringTemp1); <!-- rubbish -->
document.write(stringTemp2); <!-- chinese -->
</script>
</body>
</html>
However, these Chinese characters cannot be displayed in the English Win98 & IE 5, which other Chinese that stored in the HTML can be displayed successfully. ( charset=big5 )
if I stored all the chinese words in the html, and use the document.write to print them. they can display also.
But there are around 50 files pointing to them, I don't want to modify each file when there are some changes.
So is there any workaround???
Thanks
My Web Page need to support displaying Dynamic Chinese Characters. So I use document.write() to print some Chinese that saved in the js file.
coding in JS File:
var stringTemp1 = "ÅwªïÂsÄý";
coding in HTML File
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=big5">
</head>
<body>
<script language=javascript>
var stringTemp2 = "ÅwªïÂsÄý";
document.write(stringTemp1); <!-- rubbish -->
document.write(stringTemp2); <!-- chinese -->
</script>
</body>
</html>
However, these Chinese characters cannot be displayed in the English Win98 & IE 5, which other Chinese that stored in the HTML can be displayed successfully. ( charset=big5 )
if I stored all the chinese words in the html, and use the document.write to print them. they can display also.
But there are around 50 files pointing to them, I don't want to modify each file when there are some changes.
So is there any workaround???
Thanks