資料匯出或匯入期間的字集錯誤訊息

當您透過匯出及匯入資料庫副本來建立測試環境時,會顯示字集錯誤訊息。

症狀

例如,如果您匯出使用 US7ASCII 字集的資料庫,則匯出日誌中會記錄下列錯誤訊息:Export done in US7ASCII character set and UTF8 NCHAR character set server uses UTF8 character set (possible charset conversion).

解析問題

每當匯出及匯入資料庫時,請將 NLS_LANG 設為 american_america.utf8