[epiphany] 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] Change default charset to iso-8859-1 for greater web compatibility
- Date: Wed, 11 Dec 2013 12:19:32 +0000 (UTC)
commit 0c14b9d1ae62b5de912c5b8831abc0ff4de7a900
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]