html - How to tell Chrome or Safari to display a page with certain encoding? -
i accessing page: http://protege.stanford.edu/publications/ontology_development/ontology101-noy-mcguinness.html when saw browsers (safari , chrome) don't display characters (prot�g� when it's supposed protégé).
i think it's because content not sent utf-8 encoding, chrome , safari default utf-8 when encoding not mentioned in html page (in <meta>
tag).
i tried saving page through safari (it doesn't work through chrome) in sublime text 2 , tell "save encoding" utf-8, , can see it's displaying correctly, don't know original encoding used.
obviously don't have control on website, , cannot change content send. think need tell browser use specific encoding used when server encoded page.
so have 2 questions:
- what encoding used on page display page properly?
- how can tell chrome or safari use encoding?
new answer
i apologize hasty answer.
in chrome, can override encoding going menu > more tools > encoding. tested page linked "western (windows 1252)" , looked fine after that.
here's useful link end: https://support.google.com/chrome/answer/95290?hl=en
old answer
you have declare encoding page. see: http://symbolcodes.tlt.psu.edu/web/tips/declare.html