Forum Moderators: open
Whenever you write into a layer, you get charsets conflict on the page.
with (document.myLayer) {
document.open();
document.write("test");<-
document.close();
}
Suppose you have an anchor with an onMouseOver event that writes into a layer on the page; when you move the mouse over the anchor (event is fired and script executed) you get squares instead of normal characters.
Reported with version 4.75.0.6 & 4.78.0.25 (4.7x) of Netscape.
I suspect a conflict between charsets:
1 - the one sent by server in http header (UTF-8)
2 - the one set as default in the browser (whatever you want but UTF-8)
This doesn't occur when you set UTF-8 as default charset for Netscape. But I just can't tell customers to switch their default charset to UTF-8 whenever they see squares on the screen!
And they would have to turn it back to ISO-8859-1 whenever the charset set by http header is NOT UTF-8!
Any help greatly appreciated. Thanks in advance.
APS