iPhone的移动Safari:特殊字符(iPhone's Mobile Safari: Special Characters)
我正在使用的iPhone应用程序使用HTML帮助文件和特殊字符,如
ü and ê正在破坏我的iPhone手机Safari。 我可以做些什么来纠正这个问题?
The iPhone app I'm working on uses html help files and special characters such as
ü and êare being mangled my iPhone's mobile Safari. Anything I can do to correct this?
最满意答案
如果您使用的是XHTML,请确保文件内容确实是doctype中指定的编码。 如果您只使用纯HTML,请考虑使用XHTML,或者
使用HTML实体(例如é ) 使用META标记指定编码If you're using XHTML, ensure that the content of your files really is the encoding specified in the doctype. If you're using just plain HTML, consider using XHTML instead, or
Use HTML entities (e.g. é) Use the META tag to specify an encoding更多推荐
发布评论