html - meta charset vs document encoding -
when create html document why still necessary use meta tag charset="utf-8" attribute within html code when html document saved using utf-8 encoding? isn't setting same encoding twice? answers.
the charset of resource transferred on http defaults iso-8859-1 unless charset override has been specified in content-type
header (link). thus, have to specify document charset in html if different iso-8859-1, browser parse (and display) document properly.
Comments
Post a Comment