Ignore:
Timestamp:
Mar 21, 2008 8:47:11 AM (5 years ago)
Author:
thomasb
Message:

GB2312 alias is for iconv only (fixes #1484818)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/main.inc

    r1195 r1198  
    960960    'ISO-8859-8-I'   => 'ISO-8859-8', 
    961961    'KS_C_5601-1987' => 'EUC-KR', 
    962     'GB2312'         => 'GB18030' 
    963962  ); 
    964963 
     
    966965  if (function_exists('iconv') && $from != 'UTF-7' && $to != 'UTF-7') 
    967966    { 
     967    $aliases['GB2312'] = 'GB18030'; 
    968968    return iconv(($aliases[$from] ? $aliases[$from] : $from), ($aliases[$to] ? $aliases[$to] : $to) . "//IGNORE", $str); 
    969969    } 
Note: See TracChangeset for help on using the changeset viewer.