你選 UTF-8 就可以, 雖然都未能夠完全解決 CJK 的問題, 例如有些符號或韓文出唔到
好少數請況下要儲存為 UTF-8 with BOM, 例如你要用某種程式語言去寫一些程式去比對 CJK
如果要用 PHP 移除 utf8 bom- if ( ! function_exists('remove_utf8_bom'))
- {
- function remove_utf8_bom($text)
- {
- return str_replace("\xEF\xBB\xBF", '',$text);
- }
- }
複製代碼 Notepad++ 預設建立檔案是用 UTF-8, 仲有 auto-detect encoding
正如另一個 post 所講, update 1903 攪埋晒呢 d 野, 不如先攪好兼容啦 |