简体   繁体   中英

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

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?")

this is what shows ( )

In the original query or first does not show me that, but in the iframe shows me that error

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."

Does the page in the iframe declare its encoding in its 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; like &aacute (á).

You can find all the special HTML characters here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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