Home  >  Article  >  Database  >  What to do if you encounter garbled characters during the installation of Oracle 11g

What to do if you encounter garbled characters during the installation of Oracle 11g

PHPz
PHPzOriginal
2023-04-04 09:14:491658browse

When installing Oracle 11g, you may encounter garbled characters. If you are facing such a problem, don’t worry as it is a very common issue. This article will introduce you how to solve the garbled problem encountered during the installation of Oracle 11g.

  1. Preparations before installing Oracle 11g

Before starting the installation of Oracle 11g, we need to ensure that the applicable version of Java has been installed on the computer. You can download and install the required Java version from the Oracle official website. Additionally, make sure your computer has enough free disk space to install Oracle 11g.

  1. Solve the garbled problem during the installation of Oracle 11g

The ISO image file required to install Oracle 11g is usually compressed into a ZIP file, which needs to be decompressed first after downloading , and then run the setup.exe file to start the installation process.

During the installation process of Oracle 11g, if garbled characters appear, it may be caused by character set mismatch. Therefore, you need to modify your local character set to solve this problem. The following are the specific steps to solve the garbled code problem:

  1. Open the cmd command line window and enter the following command: regedit
  2. Find the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_HomeName\NLS_LANG key. Among them, HomeName is the name of the Oracle 11g installation directory, such as OraDb11g_home1.
  3. Double-click NLS_LANG and change its value from AMERICAN_AMERICA.WE8MSWIN1252 to SIMPLIFIED CHINESE_CHINA.ZHS16GBK.
  4. Save and close the Registry Editor. Restart the computer.
  5. After restarting the computer, open the cmd command line window and enter the following command: chcp 936
  6. Run the setup.exe file to restart the installation process of Oracle 11g. At this point you should no longer encounter garbled characters.
  7. Summary

The above is the method to solve the problem of garbled characters encountered during the installation of Oracle 11g. This problem can be easily solved by modifying the local character set, preventing a waste of time and effort when installing Oracle 11g. Hope this article is helpful to you.

The above is the detailed content of What to do if you encounter garbled characters during the installation of Oracle 11g. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn