How does a browser know what type of character encoding is used in a HTML page? I could specify, for example utf-8, in the html file, but how does a browser know it needs to use utf-8 before it reaches that string?
What if i specify utf-8 in the document but save the actual text file using a different encoding, what would the complications be? Thanks