[epiphany/gnome-3-10] Change default charset to iso-8859-1 for greater web compatibility
- From: Gustavo Noronha Silva <gns src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/gnome-3-10] Change default charset to iso-8859-1 for greater web compatibility
- Date: Wed, 11 Dec 2013 12:20:05 +0000 (UTC)
commit 1e3e006e37c05bf928505c3bf67c5b1652223ca9
Author: Gustavo Noronha Silva <gns gnome org>
Date: Wed Dec 11 12:44:57 2013 +0100
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.
https://bugzilla.gnome.org/show_bug.cgi?id=720247
data/org.gnome.epiphany.gschema.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/org.gnome.epiphany.gschema.xml b/data/org.gnome.epiphany.gschema.xml
index 9d61f05..45b9cbf 100644
--- a/data/org.gnome.epiphany.gschema.xml
+++ b/data/org.gnome.epiphany.gschema.xml
@@ -132,7 +132,7 @@
<description>Spell check any text typed in editable areas.</description>
</key>
<key type="s" name="default-encoding">
- <default>'UTF-8'</default>
+ <default>'iso-8859-1'</default>
<summary>Default encoding</summary>
<description>Default encoding. Accepted values are the ones WebKitGTK+ can
understand.</description>
</key>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]