summaryrefslogtreecommitdiff
path: root/modules/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-06-05 21:26:27 +0000
committerDries Buytaert <dries@buytaert.net>2003-06-05 21:26:27 +0000
commit522ed4d64ce7b271cd6cbb6da259361eadda3c40 (patch)
treeb63964605208f9f92415ed31a2e7e95a946dbb31 /modules/system.module
parentde3b0796d24c05856340d94504c109195b51d71c (diff)
downloadbrdo-522ed4d64ce7b271cd6cbb6da259361eadda3c40.tar.gz
brdo-522ed4d64ce7b271cd6cbb6da259361eadda3c40.tar.bz2
- More charset patches by Al.
Diffstat (limited to 'modules/system.module')
-rw-r--r--modules/system.module38
1 files changed, 19 insertions, 19 deletions
diff --git a/modules/system.module b/modules/system.module
index 569af7c32..801daa819 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -134,25 +134,25 @@ function system_view_general() {
$output .= "<h3>". t("Character encoding settings") ."</h3>\n";
// charset settings
- $charsets = array("iso-8859-1",
- "iso-8859-2",
- "iso-8859-3",
- "iso-8859-4",
- "iso-8859-5",
- "iso-8859-6",
- "iso-8859-7",
- "iso-8859-8",
- "iso-8859-8-i",
- "iso-8859-9",
- "utf-8",
- "utf-16",
- "utf-16be",
- "euc-kr",
- "koi8-r",
- "ks_c_5601-1987",
- "tis-620",
- "iso-2022-kr",
- "us-ascii");
+ $charsets = array("iso-8859-1" => "iso-8859-1",
+ "iso-8859-2" => "iso-8859-2",
+ "iso-8859-3" => "iso-8859-3",
+ "iso-8859-4" => "iso-8859-4",
+ "iso-8859-5" => "iso-8859-5",
+ "iso-8859-6" => "iso-8859-6",
+ "iso-8859-7" => "iso-8859-7",
+ "iso-8859-8" => "iso-8859-8",
+ "iso-8859-8-i" => "iso-8859-8-i",
+ "iso-8859-9" => "iso-8859-9",
+ "utf-8" => "utf-8",
+ "utf-16" => "utf-16",
+ "utf-16be" => "utf-16be",
+ "euc-kr" => "euc-kr",
+ "koi8-r" => "koi8-r",
+ "ks_c_5601-1987" => "ks_c_5601-1987",
+ "tis-620" => "tis-620",
+ "iso-2022-kr" => "iso-2022-kr",
+ "us-ascii" => "us-ascii");
$output .= form_select(t("Character set"), "site_charset", variable_get("site_charset", "iso-8859-1"), $charsets, t("Select the character set (charset) used across your site. This will affect the content-type tag in web pages and the XML declarations in RSS feeds, among other things. You probably only need to change this if you need support for languages with non-ASCII characters like Korean, Polish, etc."));
return $output;
}