简体   繁体   中英

Opera charset UTF-8

I'm using UTF-8 for my charset which is working well in all browsers except Opera, I'm getting strange characters like €˜ instead of ' does anyone know why this is happening as its breaking my design and would really appreciate it if you could help me figure this out, thanks in advance!

How I'm setting the charset

<meta charset="utf-8">

Website link

www.theapplist.com

You have

<meta http-equiv="content-type" content="charset=utf-8">

which is invalid.

You probably meant:

<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>

But you're using HTML5 so do it like this :

<meta charset='utf-8'> 

You have probably manually set Opera to use an encoding other than UTF-8, via the View menu, item “Encoding”. Select “Automatic Selection” there.

For example, if you have manually set Opera to use windows-1252 encoding, then a UTF-8 encoded left single quote ('), as in 'Game of the Week', will appear as “â€~”.

Good afternoon! Try <meta charset="UTF-8"> instead, could be that. EDIT: You don't need the UTF-8! Just delete it! Really, what's the reason for you using it in this case?

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