:::
Tad Evaluation 評鑑檔案管理

windows的中文檔名無法出現

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

此題無解...

就轉移到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;
}
:::

QR Code 區塊

http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_discuss%2Fdiscuss.php%3FDiscussID%3D6569%26BoardID%3D24

計數器

今天: 684684684
昨天: 3429342934293429
總計: 3213462321346232134623213462321346232134623213462