:::
Tad Evaluation 評鑑檔案管理

windows的中文檔名無法出現

discuss pic 2019-07-29 22:10:47
我知道windows中文支援度較差,不知大師有沒有支援的方法,謝謝
discuss pic 2019-07-29 22:22:47
tad

此題無解...

就轉移到Linux下就一切OK

discuss pic 2019-08-01 21:22:04
老師,不好意思,亂搞被我搞出來了,改function.php
//轉換編碼 (_CHARSET在後面時,$OS2Web為true,預設)
function change_charset($str, $OS2Web = true)
{
global $xoopsModuleConfig;

if ('Auto' !== $xoopsModuleConfig['os_charset'] and '' != $xoopsModuleConfig['os_charset']) {
$os_charset = $xoopsModuleConfig['os_charset'];
} else {
$os_charset = (PATH_SEPARATOR === ':') ? 'Big5' : 'UTF-8';
}

if (_CHARSET != $os_charset) {
$str = $OS2Web ? mb_convert_encoding($str, $os_charset,_CHARSET ) : mb_convert_encoding($str, _CHARSET, $os_charset);
}

if ($OS2Web and 'UTF-8' === $os_charset and _CHARSET === 'Big5') {
$str = stripslashes($str);
}

return $str;
}
:::

快速登入


https%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FBoardID%3D24%26DiscussID%3D6569%26g2p%3D1

計數器

今天: 3632363236323632
昨天: 2489248924892489
總計: 8025614802561480256148025614802561480256148025614