Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why isn't Google Chrome showing the proper encoding?

I'm sorry if this isn't the right place to be posting a question like this, but I'm at wit's end trying to figure out an answer. I don't know if it's an encoding issue or what, but on SO many web pages, Chrome won't display some characters properly. Namely things like en and em dashes, elipses, etc.

Here's an example.

encoding example

That O with the umlaut is supposed to be an ellipses. I don't see the problem on Firefox, and I don't see the problem on another computer with Chrome. Encoding is set to Auto-Detect and UTF-8. If I copy and paste the O with the umlaut, it pastes as an ellipses.

Any idea why this is happening and how I can fix it?

like image 238
i7nvd Avatar asked Apr 13 '12 03:04

i7nvd


2 Answers

If it pastes back as the expected character, then it is not an encoding problem - it rather would be a font problem: you likely have a font installed in your system that is being used by Chrome to display S.O. (and possibly other pages' text). If this font is broken (like, it has an incorrect encoding declaration itself), this could happen.

The workaround is finding out which is the offensive font and uninstall it from your system.

like image 166
jsbueno Avatar answered Nov 11 '22 15:11

jsbueno


I had the problem with Chrome on Mac OSX.7.5 using Universal Type Client.

In Chrome go to pop-out side menu (3 horizontal bars) > Tools > Encoding and set the page to Auto-detect, UTF-8 (you should switch auto-detect off if it's slowing the browser down).

In Universal Type Client, there was 2 versions of Arial in conflict with each other.

Select the universal copy of Arial and deactivate it.

All pages now render correctly in Chrome.

like image 21
user1990310 Avatar answered Nov 11 '22 17:11

user1990310