Do not convert, if charsets are same.
This commit is contained in:
@@ -11,6 +11,8 @@ $Source$
|
||||
|
||||
2004-06-07 Michal Čihař <michal@cihar.com>
|
||||
* lang/czech: Updated.
|
||||
* libraries/charset_conversion.lib.php: Do not convert, if charsets are
|
||||
same.
|
||||
|
||||
2004-06-07 Alexander M. Turek <me@derrabus.de>
|
||||
* css/phpmyadmin.css.php: beautifications.
|
||||
|
@@ -240,6 +240,7 @@ function PMA_convert_charset($what) {
|
||||
* @author nijel
|
||||
*/
|
||||
function PMA_convert_string($src_charset, $dest_charset, $what) {
|
||||
if ($src_charset == $dest_charset) return $what;
|
||||
switch ($GLOBALS['PMA_recoding_engine']) {
|
||||
case PMA_CHARSET_RECODE:
|
||||
return recode_string($src_charset . '..' . $dest_charset, $what);
|
||||
|
Reference in New Issue
Block a user