使用JavaScript设置IE8页面标题以包含法语HTML实体

时间:2015-07-10 15:45:59

标签: javascript html utf-8 internet-explorer-8

使用JavaScript,我如何设置页面标题(因此它在IE8中有效)包含ᴹᴰ哪个是法语版®? Charset是utf-8,无法更改。

document.title = "Bonjour<sup>MD</sup>"; //does not work anywhere

document.title = "Bonjourᴹᴰ"; //does not work in WinXP IE8, shows two square characters... even when view source

0 个答案:

没有答案