mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +02:00
git-svn-id: file:///svn/phpbb/trunk@6823 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -815,7 +815,7 @@ function utf8_recode($string, $encoding)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// SJIS
|
// SJIS
|
||||||
if (preg_match('/sjis(?:[_ -]?win)?|(?:cp|ibm)[_ -]?932|shift[_ -]?jis/i', $encoding)
|
if (preg_match('/sjis(?:[_ -]?win)?|(?:cp|ibm)[_ -]?932|shift[_ -]?jis/i', $encoding))
|
||||||
{
|
{
|
||||||
if (!function_exists('sjis'))
|
if (!function_exists('sjis'))
|
||||||
{
|
{
|
||||||
@@ -829,7 +829,7 @@ function utf8_recode($string, $encoding)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// EUC_KR
|
// EUC_KR
|
||||||
if (preg_match('/euc[_ -]?kr/i', $encoding)
|
if (preg_match('/euc[_ -]?kr/i', $encoding))
|
||||||
{
|
{
|
||||||
if (!function_exists('euc_kr'))
|
if (!function_exists('euc_kr'))
|
||||||
{
|
{
|
||||||
@@ -843,7 +843,7 @@ function utf8_recode($string, $encoding)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// BIG-5
|
// BIG-5
|
||||||
if (preg_match('/big[_ -]?5/i', $encoding)
|
if (preg_match('/big[_ -]?5/i', $encoding))
|
||||||
{
|
{
|
||||||
if (!function_exists('big5'))
|
if (!function_exists('big5'))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user