When the Oracle user name is in a Unicode language (for example, Chinese or Japanese), you cannot use the Oracle Data dialog box to manage the data transfer. In this case, use the following procedure instead.
The procedure is a two-step process:
- Change the active code page for the command prompt and execute the Oracle Export command.
- Change the active code page for the command prompt and import the Oracle Dump file.
To export the data from Oracle using the command line
- Change the active code page of the command prompt.
The command prompt you use to execute the Oracle Export and Import commands is not a Unicode-enabled tool.
- In Windows, Start button > Windows System > Control Panel > Region > Administrative tab > Language For Non-Unicode Programs > Change System Locale.
- Change the current language to your requirements.
For example, to export a Chinese User Name like "中文用户名," change the language to "Chinese (Simplified, PRC)."
- Restart the operating system.
- After the restart, open a command prompt and execute the command CHCP to see the active code page for your command prompt.
- Enter the following command to set the National Language Support environment variable correctly:
Set NLS_LANG=
Language_Territory.Characterset
For example, for simplified Chinese, enter the following:
Set NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
- Execute the Oracle Export command.
To import the Oracle dump file
- Change the active code page of the command prompt.
The command prompt you use to execute the Oracle Export and Import commands is not a Unicode-enabled tool.
- In Windows, Start button > Windows System > Control Panel > Region > Administrative tab > Language For Non-Unicode Programs > Change System Locale.
- Change the current language to your requirements.
For example, to export a Chinese User Name like "中文用户名," change the language to "Chinese (Simplified, PRC)."
- Restart the operating system.
- After the restart, open a command prompt and execute the command CHCP to see the active code page for your command prompt.
- Enter the following command to set the National Language Support environment variable correctly:
Set NLS_LANG=
Language_Territory.Characterset
For example, for simplified Chinese, enter the following:
Set NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK
- Execute the Oracle Import command.