Posts by Ana Gauna • 1 point
3 posts
-
-3
votes6
answers3652
viewsA: How to detect page encoding with PHP?
In Style CSS: html:lang(en) { @charset "UTF-8"; } In HTML: html lang="en" No HEAD: meta charset="UTF-8" I use HTML5 with PHP version 7.3 and it works.
-
-3
votes3
answers1179
viewsA: Charset does not work in Javascript
In the CSS: <style> html:lang(pt-br) { @charset "UTF-8"; } </style> In HTML: <html lang="pt-br"> At the head: <meta charset="UTF-8"> In Javascript - example: <script…
-
-3
votes3
answers362
viewsA: Charset statement in file . css
in CSS I use charset like this: html:lang(pt-br) { @charset "UTF-8"; }