After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 720247 - Change default charset to iso-8859-1 for greater web compatibility
Change default charset to iso-8859-1 for greater web compatibility
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Preferences
unspecified
Other All
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-11 11:48 UTC by Gustavo Noronha (kov)
Modified: 2013-12-11 12:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Change default charset to iso-8859-1 for greater web compatibility (1.40 KB, patch)
2013-12-11 11:48 UTC, Gustavo Noronha (kov)
committed Details | Review

Description Gustavo Noronha (kov) 2013-12-11 11:48:01 UTC
When servers reply with no explicit charset and the page does not specify a
charset either, the default behaviour on the web has been to consider the
contents to be in the iso-8859-1 encoding. That is why WebKit's default charset
setting defaults to iso-8859-1. By changing that default to UTF-8 we break
some web sites, such as http://www.planalto.gov.br/ccivil_03/leis/lcp/lcp101.htm.

This change restores web compatibility by using the same default as WebKit.
Comment 1 Gustavo Noronha (kov) 2013-12-11 11:48:39 UTC
Created attachment 263977 [details] [review]
Change default charset to iso-8859-1 for greater web compatibility

When servers reply with no explicit charset and the page does not specify a
charset either, the default behaviour on the web has been to consider the
contents to be in the iso-8859-1 encoding. That is why WebKit's default charset
setting defaults to iso-8859-1. By changing that default to UTF-8 we break
some web sites, such as http://www.planalto.gov.br/ccivil_03/leis/lcp/lcp101.htm.

This change restores web compatibility by using the same default as WebKit.
Comment 2 Claudio Saavedra 2013-12-11 12:10:05 UTC
Review of attachment 263977 [details] [review]:

I believe you.
Comment 3 Claudio Saavedra 2013-12-11 12:10:48 UTC
Feel free to commit to gnome-3-10, I want to make a release before the end of the week.
Comment 4 Gustavo Noronha (kov) 2013-12-11 12:21:00 UTC
Comment on attachment 263977 [details] [review]
Change default charset to iso-8859-1 for greater web compatibility

Pushed to master as:

0c14b9d1ae62b5de912c5b8831abc0ff4de7a900

To gnome-3-10 as:

1e3e006e37c05bf928505c3bf67c5b1652223ca9

Thanks!