Debian 6.0.5 box garbled Solution

Source: Internet
Author: User

It may be a small bug in the Debian version, or a problem with your computer, which may cause many friends to clearly select Simplified Chinese during the installation process when installing linux6.0, after the installation is complete, the Chinese font is garbled, that is, the box. This is indeed a headache. If you are a newbie, you do not know the icons of each option. The reason for this Garbled text is that the Chinese font is not installed. Now that you know the root cause, the problem can be solved.

There are many solutions on the Internet. I have tried almost all the solutions I can find. For example, I have installed fonts directly from the terminal, but I have not tried it many times. I copied the font library from windows, install it to/usr/fonts/TrueType in Linux. However, if you are the person who installs the Linux virtual machine, it is very troublesome to perform operations. If you are not familiar with the virtual machine, that is even more unsolvable. Some also say that the simsun font is downloaded. TTF, and then install it. However, we know that, after downloading Linux, file copying, decompression, and installation are all very troublesome and involve permission issues. In this way, many new users have no way to start, leading to loss of confidence and motivation for learning. The other method is to switch the language back to English on the terminal. However, if you practice it yourself, you will know that, if you select Simplified Chinese during installation, you cannot switch back to English. Even if you switch back to English, you cannot choose to enter the English interface when you restart, because the box is displayed when you start the installation.

As I am a newbie, I have encountered such problems during the installation process, and I have tried almost all the solutions on the Internet. I have also tried to reinstall it. However, as long as you select Simplified Chinese at the beginning of the installation: choose language, the box is garbled. Finally, I chose English as the default language. We know that there will be no garbled characters in English, so no garbled characters will appear after the installation is completed. Sure enough, there is no garbled code after the installation is complete. Moreover, I believe that anyone playing Linux can understand English. At least reading is normal.

In this way, after entering the Linux system, configure as follows to solve the problem. My hands-on practices:

1,Configure software source

Back up the original source list file
CP-V/etc/APT/sources. List {,. Backup}
Modify/etc/APT/sources. List to clear the content first and add the following:
Deb http://mirrors.163.com/debian squeeze main non-free contrib
Deb http://mirrors.163.com/debian squeeze-proposed-Updates main contrib non-free
Deb http://mirrors.163.com/debian-security squeeze/updates main contrib non-free
Deb-Src http://mirrors.163.com/debian squeeze main non-free contrib
Deb-Src http://mirrors.163.com/debian squeeze-proposed-Updates main contrib non-free
Deb-Src http://mirrors.163.com/debian-security squeeze/updates main contrib non-free
Deb http://http.us.debian.org/debian squeeze main contrib non-free
Deb http://non-us.debian.org/debian-non-US squeeze/non-US main contrib non-free
Deb http://security.debian.org squeeze/updates main contrib non-free

Update Software source list
Apt-Get update
Update System
Apt-Get upgrade

2. Open the terminal and run the following command:
Dpkg-reconfigure locales
Select all the characters with zh_cn, and then select OK. In the displayed dialog box, select the locale of the system and select
Zh_CN.UTF-8.
The installation is in English and the Chinese font is missing. Run the following command to install the font:
Apt-Get install xfonts-Intl-Chinese wqy *
Next time, restart the machine. In the language below the gnome logon interface, select Chinese as the logon language)

In this way, the problem is solved ~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.