page counter next up previous contents
Next: 2007 Excel 開啟 utf8 Up: 編碼轉換 Previous: MySQL 編碼   Contents

OJS 編碼設定

  1. OJS 設定檔中 i18n 語系設定編碼都設定為 utf8,且關閉編碼正規化 charset_normalization = Off
    [root@csie5 ojs-ijait]# grep i18n -A22 config.inc.php 
    [i18n]
    
    ; Default locale
    locale = en_US
    
    ; Client output/input character set
    client_charset = utf-8
    
    ; Database connection character set
    ; Must be set to "Off" if not supported by the database server
    ; If enabled, must be the same character set as "client_charset"
    ; (although the actual name may differ slightly depending on the server)
    connection_charset = utf8
    
    ; Database storage character set
    ; Must be set to "Off" if not supported by the database server
    database_charset = utf8
    
    ; Enable character normalization to utf-8 (recommended)
    ; If disabled, strings will be passed through in their native encoding
    ; Note that client_charset and database collation must be set
    ; to "utf-8" for this to work, as characters are stored in utf-8
    charset_normalization = Off
    



2016-10-25