Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I declare two different charsets on one HTML page using a meta tag?

Is possible to specify two different character sets on a page using meta tags, like:

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">

I tried to add both of them and doesn't work :P

Thanks

like image 636
Adrian Zamfir Avatar asked Jan 20 '23 02:01

Adrian Zamfir


1 Answers

No, it's not possible. What would be the point of adding two different charset declarations? You should add only one declaration that matches your content.

like image 169
Tomas Markauskas Avatar answered Jan 30 '23 07:01

Tomas Markauskas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!