jqgrid colmodel标题不能正确显示UTF-8字符

时间:2011-12-30 21:14:51

标签: jquery jqgrid

当我将鼠标悬停在UTF-8(例如中文)字符的单元格数据上时,

jqgrid显示乱码。但网格正确显示数据。是限制还是有方法在标题/工具提示中正确显示数据?

头部分已正确设置内容类型。 < meta http-equiv =“Content-Type”content =“text / html; charset = utf-8”/>

以下是问题的屏幕截图......

screenshot of the issue...

1 个答案:

答案 0 :(得分:0)

抱歉,我无法使用本地数据(请参阅the first demo)或使用JSON数据(请参阅the second demo)重现此问题。我总是得到如下结果

enter image description here

可能您使用了一些非常旧的网络浏览器或出现其他一些错误。我希望如果你将你的代码与我的工作演示进行比较,你会发现问题的原因。