1. Review the current database character set parameter settings
SELECT * FROM v$nls_parameters;
2. Check the available database character set parameters
SELECT * FROM v$nls_valid_values;
It assumes that the database is used: American_America.AL32UTF8 character set. Query: SELECT * FROM v $ nls_parameters; see NLS_CHARACTERSET value is how much my AL32UTF8.
It is necessary to set the value of NLS_LANG: AMERICAN_AMERICA.AL32UTF8
(1): registry NLS_LANG
Click the lower left corner of the [Start] button, click [Run] command in the right side of the dialog box [Run] input [regedit] and click on OK button
Can be permanently set by modifying the registry key
HKEY_LOCAL_MACHINE \ SOFTWARE \ ORACLE \ HOMExx \ NLS_LANG
Set: American_America.AL32UTF8
(2): Environment Variables
Environment variables, add NLS_LANG variable name
Value is set to: American_America.AL32UTF8
Re-open plsql, sql open the file, if not enough
As shown, the file is saved sql UTF-8 format, then it