diff --git a/Documentation.html b/Documentation.html
index 427f9647c..63705ca4c 100644
--- a/Documentation.html
+++ b/Documentation.html
@@ -1683,15 +1683,6 @@ CREATE DATABASE,ALTER DATABASE,DROP DATABASE
expression. For example if you want only Czech and English, you should
set filter to '^(cs|en)'
.
-
$cfg['DefaultCharset'] string
- Default character set to use for recoding of MySQL queries. This must be
- enabled and it's described by
- $cfg['AllowAnywhereRecoding']
- option.
- You can give here any character set which is in
- $cfg['AvailableCharsets']
- array and this is just default choice, user can select any of them.
-
$cfg['AllowAnywhereRecoding'] boolean
Allow character set recoding of MySQL queries. You need recode or iconv
support (compiled in or module) in PHP to allow MySQL queries recoding
diff --git a/libraries/config.default.php b/libraries/config.default.php
index cd6ef6b6c..7d7d0844b 100644
--- a/libraries/config.default.php
+++ b/libraries/config.default.php
@@ -544,7 +544,7 @@ $cfg['SessionSavePath'] = '';
/**
* maximum allocated bytes ('0' for no limit)
* this is a string because '16M' is a valid value; we must put here
- * a string as the default value so that /setup accepts strings
+ * a string as the default value so that /setup accepts strings
*
* @global string $cfg['MemoryLimit']
*/
@@ -1950,16 +1950,6 @@ $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
*/
$cfg['FilterLanguages'] = '';
-/**
- * Default character set to use for recoding of MySQL queries, does not take
- * any effect when character sets recoding is switched off by
- * $cfg['AllowAnywhereRecoding'] or in language file
- * (see $cfg['AvailableCharsets'] to possible choices, you can add your own)
- *
- * @global string $cfg['DefaultCharset']
- */
-$cfg['DefaultCharset'] = 'utf-8';
-
/**
* Allow character set recoding of MySQL queries, must be also enabled in language
* file to make harder using other language files than Unicode.
diff --git a/setup/lib/config_info.inc.php b/setup/lib/config_info.inc.php
index 71a6bc503..3d95641c7 100644
--- a/setup/lib/config_info.inc.php
+++ b/setup/lib/config_info.inc.php
@@ -41,7 +41,6 @@ $cfg_db['Servers'] = array(1 => array(
'order' => array('', 'deny,allow', 'allow,deny', 'explicit')),
'only_db' => 'array'));
$cfg_db['RecodingEngine'] = array('auto', 'iconv', 'recode');
-$cfg_db['DefaultCharset'] = $GLOBALS['cfg']['AvailableCharsets'];
$cfg_db['OBGzip'] = array('auto', true, false);
$cfg_db['ShowTooltipAliasTB'] = array('nested', true, false);
$cfg_db['DisplayDatabasesList'] = array('auto', true, false);
diff --git a/setup/lib/forms.inc.php b/setup/lib/forms.inc.php
index ea0c87edc..e60cf6f2c 100644
--- a/setup/lib/forms.inc.php
+++ b/setup/lib/forms.inc.php
@@ -75,7 +75,6 @@ $forms['Import_export'] = array(
'UploadDir',
'SaveDir',
'AllowAnywhereRecoding',
- 'DefaultCharset',
'RecodingEngine',
'IconvExtraParams',
'ZipDump',
diff --git a/setup/lib/messages.inc.php b/setup/lib/messages.inc.php
index 1defa2d82..5284e034a 100644
--- a/setup/lib/messages.inc.php
+++ b/setup/lib/messages.inc.php
@@ -45,8 +45,6 @@ $strSetupCompressOnFly_name = __('Compress on the fly');
$strSetupConfigurationFile = __('Configuration file');
$strSetupConfirm_desc = __('Whether a warning ("Are your really sure...") should be displayed when you\'re about to lose data');
$strSetupConfirm_name = __('Confirm DROP queries');
-$strSetupDefaultCharset_desc = __('Default character set used for conversions');
-$strSetupDefaultCharset_name = __('Default character set');
$strSetupDefaultLanguage = __('Default language');
$strSetupDefaultServer = __('Default server');
$strSetupDefaultTabDatabase_desc = __('Tab that is displayed when entering a database');