Jeroenttje
Jeroenttje

Reputation: 89

Special Characters rendering on Chrome

Recently a customer notified me of some special characters not rendering correctly. If this was always the case, i'm not sure exactly, thought not.

The problem lies here: http://waterforum.net/

On IE/Opera/FireFox, it shows the special characters correctly.

However, on Chrome and my SGS3 for example, it does not.

  1. What i've tried,
  2. Forcing UTF8 due to htaccess
  3. DOCType
  4. Charset declaration
  5. Checking Database tables

Do you guys have a clue? Or is it just a bug?

Upvotes: 2

Views: 3900

Answers (1)

Martin Risell Lilja
Martin Risell Lilja

Reputation: 652

I tried changing the UA-string to Firefox Windows from Chrome default.

By default in Chrome this is the Content-type:

Content-Type: text/html; charset=iso-8859-1

Characters are then displayed incorrectly.

When I switch to Firefox UA, the Content-type is changed to:

Content-Type: text/html; charset=utf-8

This problem might lay hidden in the fact that Chrome sends Accept-encoding but as Chrome displays it correctly with another UA, this is most likely not the case.

Try and see what happens with different UA-strings, the use of UA-strings to deliver different content is highly discouraged because of problems like these.

Upvotes: 3

Related Questions