All Questions
Tagged with meta-tags character-encoding
44
questions
0
votes
1
answer
214
views
Content in meta tag
Like the first image, the meta tag is displayed correctly in inspect elements mode but incorrectly displayed in view page source mode as in the second image. Thank you for suggesting a solution to ...
1
vote
0
answers
203
views
Avoid http-equiv <meta> tags [duplicate]
can be avoid
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
and replace this by <meta charset="utf-8">
and what is the best replacement for <meta http-equiv="x-...
0
votes
0
answers
103
views
Do old browsers recognizes HTML5 charset format?
I read lots of information on the web, and couldn't find the answer of this quistion. If I use
<meta charset="utf-8"/>
will the coding be applied correctly in browsers that don't support HTML5?...
1
vote
2
answers
441
views
Preserve charset attribute of meta tag in HTML Blob?
I am generating a client-side HTML redirect like this:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Déjà vu - Wikipedia</title>
...
1
vote
1
answer
321
views
Content/Character Encoding - Why Does HTTP Header(Content-Type) Take Precedence Over Meta Tags(Http-Equiv)?
I have been studying content encoding for some time now, but I'm still learning.
My understanding is, the content/character encoding decides how a web browser renders characters outside of the normal ...
0
votes
1
answer
4k
views
<meta charset=“utf-8”> or <meta http-equiv=“Content-Type”>, which should I use?
In order to define charset for HTML 5 doctype, which notation should I use?
Short:
meta charset="utf-8"
Long:
meta http-equiv="Content-Type" content="text/html; charset=utf-8"
-2
votes
1
answer
5k
views
How can I set charset in HTML? [duplicate]
I'm having a trouble with a site. I set the charset to Unicode, but it still won't work. Here there is sample code of how I set it:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//...
3
votes
1
answer
828
views
Can I use HTML character entities in meta tags?
I have a web site in two languages - English and Chinese. In the English homepage, which uses UTF-8 charset, I have, e.g.:
<meta name="description" content="Available in English and Chinese">
...
0
votes
2
answers
1k
views
Browser display german language character issue
my issue is i am displaying german language character and my browser convert some character in question mark symbol.
I have added image here you can see what is exact issue.
I have tried meta tag ...
0
votes
0
answers
1k
views
Some of the encoding of hyphen(-) showing the result – and some are showing correct on same page(DB used is Sql server 2008)
I have 2 servers :-
server 1 - shows the correct result for the hyphen(-)
server 2 - showing – character for some hyphen(-) only
I am using the meta tag with charset UTF-8
All the values are ...
0
votes
0
answers
88
views
After trying to fix the weird characters that appear on my webpage, why does the <meta> tag seem to prevent javascript from working?
I looked up how to prevent weird characters like: 
 appearing where
<br>
is in the html.
<meta charset="UTF-8">
was the answer. However, now that i have put this in, all my jquery/...
1
vote
1
answer
1k
views
UTF-8 encoded text erroneously displayed in Firefox
The following document is saved as UTF-8 without bom:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
...
1
vote
1
answer
1k
views
Overriding Meta Character Encoding Declarations
I know that declaring the charset of a page using the older style, like so:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
will override any declarations of the ...
25
votes
1
answer
6k
views
In a HTML file with charset=utf-8, do I still need to replace umlauts with ä?
Whenever I used a German umlaut in a HTML file in the past, always I replaced it by ä, ö etc. according to this table.
I had no idea about encoding then, nor did I ever think about ...
0
votes
2
answers
679
views
meta tag to correct ®
I'm having some trouble getting a special character properly encoded.
® keeps coming through instead of the registered trademark symbol. I've tried changing the meta tag to UTF-8 and Windows-1252, ...