在jQuery UI DatePicker对话框中显示波兰语字符时出现问题 [英] Problem displaying Polish characters in jQuery UI DatePicker Dialogie
问题描述
我似乎在jQuery UI DatePicker中显示波兰语字符时遇到问题... 波兰语字符显示不正确-由问号字符代替. 由于父文档的编码设置为UTF-8,因此它们在页面中的其他任何地方都可以正常工作.
I seem to have a problem in displaying Polish characters in the jQuery UI DatePicker... The Polish characters do not display correctly - they are replaced by question mark characters. They work fine everywhere else in the page as the parent document's encoding is set to UTF-8.
有什么建议吗?
任何帮助将不胜感激! :)
Any help will be appreciated! :)
谢谢,保重!
Piottr.
推荐答案
我遇到了同样的问题,但我遇到的是PT-BR.
I had the same problem, but in my case with PT-BR.
您有一个日期选择器的本地化文件,对吗? 此文件是天和月名称的翻译.
You have a localization file to your datepicker right? This file is the translation for the name of days and months.
好,尝试替换那些字符,以换成 html特殊字符 http://symbolcodes.tlt.psu.edu/web/codehtml.html
示例:ç表示ç
ç用于拉丁语,例如葡萄牙语和法语.
Example: ç for ç
ç is used in latin languages such as portuguese and french.
这个问题不应该发生,我想这是jquery中的错误或某些miss选项. jQuery应该将字符转换为页面的字符集,但没有这样做.
this problem shouldn´t happend, I guess it´s a bug in jquery or some miss option. Jquery should convert the characters to the charset of the page, but it´s not doing it.
希望它会有所帮助.
这篇关于在jQuery UI DatePicker对话框中显示波兰语字符时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!