简体   繁体   English

错误的 iframe html 字符

[英]Error iframe html characters

excuse my English I speak Spanish原谅我的英语我说西班牙语

I'm trying to display multiple php and mysql registration, after that the show in an iframe我正在尝试显示多个 php 和 mysql 注册,然后在 iframe 中显示

the problem is that apparently in the iframe shows me errors accents and other characters for example: for example ( D nde cuesta menos y se consume m s?")问题是,显然在 iframe 中向我显示了错误的重音和其他字符,例如:例如 ( D nde cuesta menos y se消耗 m s?")

this is what shows ( )这就是显示( )

In the original query or first does not show me that, but in the iframe shows me that error在原始查询中或第一次没有向我显示,但在 iframe 中向我显示了该错误

What should I do?我该怎么办?

regards问候

"When a browser renders/parses a web document that does not have the character encoding declared it will guess at what character set to use and may choose the wrong one therefore rendering the web page incorrectly." “当浏览器呈现/解析没有声明字符编码的 Web 文档时,它会猜测要使用的字符集,并可能选择错误的字符集,从而错误地呈现网页。”

Does the page in the iframe declare its encoding in its HTML? iframe 中的页面是否在其 HTML 中声明其编码?

The solution that I found was write <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> in <head> , but if you prefer (I don't think so) you can change all the accents with &(vocal)acute;我发现的解决方案是在<head>中编写<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <head> ,但是如果您愿意(我不这么认为),您可以用 &(vocal)acute; 改变所有的重音; like &aacute (á).&aacute (á)。

You can find all the special HTML characters here .您可以在此处找到所有特殊的 HTML 字符。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM