THINKPHP 讀取oracle亂碼問題解決方案

測試環境: thinkphp3.1.3  +oracle 11g (1) DbOracle.class.php  找到構造函數  public function __construct($config=''){        putenv("NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1"); 確保putenv 裏面填寫的是  oracle 的編碼,可以自己去查詢 (
相關文章
相關標籤/搜索