Cannot display Greek characters .mdb file (PHP & ODBC)

后端 未结 2 2015
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-25 11:56

I am having problems displaying text from a column in an MS Access 2007 table which is in Greek. I am using PHP and $dbc = @odbc_pconnect(\"Driver={Microsoft Access Driver

2条回答
  •  生来不讨喜
    2021-01-25 12:20

    As an exmple:

    echo 'TRANSLIT : ', iconv("Windows-1253", "UTF-8//TRANSLIT", $text);
    echo 'IGNORE   : ', iconv("Windows-1253", "UTF-8//IGNORE", $text);
    echo 'Plain    : ', iconv("Windows-1253", "UTF-8", $text);
    

提交回复
热议问题