Aspx页面不显示iso-8859-1字符
在我的网站上: http://tangobue.simpletick.com/
我看到文本:
<p>Todos los shows de tango en un s�lo lugar.</p>
但是在我的 aspx 代码中我有:
<p>Todos los shows de tango en un sólo lugar.</p>
我应该更改什么才能正确显示口音?
我的主页顶部有这个:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
On my site: http://tangobue.simpletick.com/
I see the text:
<p>Todos los shows de tango en un s�lo lugar.</p>
However in my aspx code I have:
<p>Todos los shows de tango en un sólo lugar.</p>
What should I change so the accent appears correctly?
I have this on the top of my master page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
谢谢奥德!
根据您的建议,我找到了这个解决方案:
我更新了 Web 配置并将 UTF-8 更改为:“iso-8859-1”
http://msdn.microsoft.com/en-us/library/hy4kkhe0.aspx
Thanks Oded!
Based on your suggestion I found this solution:
I updated the web config and changed UTF-8 to: "iso-8859-1"
http://msdn.microsoft.com/en-us/library/hy4kkhe0.aspx