linux display Chinese garbled solution

2011-04-29  来源:本站原创  分类:OS  人气:64 

Method One: Modify the / root / .bash_profile file, increase the export LANG = zh_CN.GB18030

For other users, the file must be modified accordingly

Putty using this method can display Chinese, but the desktop is in English and Chinese display all the pages, or garbled

Method Two:
Quote:
Modify / etc/sysconfig/i18n file

# LANG = "en_US.UTF-8"
# SUPPORTED = "en_US.UTF-8: en_US: en"
# SYSFONT = "latarcyrheb-sun16"

To

LANG = "zh_CN.GB18030"
LANGUAGE = "zh_CN.GB18030: zh_CN.GB2312: zh_CN"
SUPPORTED = "zh_CN.GB18030: zh_CN: zh"
SYSFONT = "lat0-sun16"
SYSFONTACM = "8859-15"

相关文章
  • linux display Chinese garbled solution 2011-04-29

    Method One: Modify the / root / .bash_profile file, increase the export LANG = zh_CN.GB18030 For other users, the file must be modified accordingly Putty using this method can display Chinese, but the desktop is in English and Chinese display all the

  • JSP to display Chinese garbled solution 2010-12-24

    JSP to display Chinese garbled solution 1. To ensure that the output to the client JSP is used when encoding the output of the Chinese, that in any case we are first in our JSP source code by adding the following line: <%@page contentType="text/ht

  • Linux CentOS Chinese garbled solution system 2011-07-07

    Keywords: Linux CentOS 5.3 system, Chinese garbled solution Solution: 1, use the command: yum install fonts-chinese 2, then reboot command (reboot) get

  • Linux - VIM Chinese garbled solution 2011-01-07

    Sometimes when using vim to display Chinese as garbled, this time we can modify the vimrc file to solve the problem! First, you need to figure out the location of vimrc. In general, the linux system, it should be so Linux: /usr/share/vim/vimrc In Win

  • navicat for mysql navicat for mysql display Chinese garbled solution 2011-05-27

    Recently encountered a problem, open the database with navicat for mysql display is garbled when you are all (insert the data in the application code to ensure that characters are not garbled before), encountered problems in seeking solutions, Baidu

  • ubuntu fedora linux netbeans 6.8 openjdk Chinese garbled solution: 2010-03-29

    ubuntu fedora linux netbeans 6.8 openjdk Chinese garbled solution: This problem belongs to OpenJDK Chinese font configuration errors. 1, view their own use of the JVM, I'm using / usr / lib / jvm / java 2, enter the directory / usr / lib / jvm / java

  • Windows, samba Chinese garbled solution 2010-03-28

    [Change] Windows under samba Chinese garbled solution! Using windows to access the samba server under Linux, there are characters in the folder to access the time, I saw the Chinese file names are garbled. Solutions: (1) Open / etc/sysconfig/i18n set

  • Chinese garbled solution Mysql 2010-10-11

    Reprinted: Mysql Chinese garbled solution The first method, it is brilliant summary: Often change the virtual host, and various service providers MYSQL versions, when importing data, such as always garbled not display the problem, check a lot of info

  • displaytag paging _DisplayTag Application Components Implementation Guide _ DisplayTag seven sins _displaytag the Chinese (garbled) solution 2010-04-01

    DisplayTag Application Guide Abstract This paper describes the Web Development and Design: DisplayTag Application Guide, DisplayTag is a very useful table shows labels for MVC model, and its home page in http://displaytag.sourceforge.net First, the s

  • Sybase Chinese garbled solution 2011-07-19

    Sybase Chinese garbled due to the default encoding set to ISO-1, in the Sybase Central v4.3 is garbled in Chinese, will change the CP936 or CP850 character set, the Chinese garbled solution. Replacement character set method: First, open the Sybase Ce

  • Oracle Client PL / SQL Chinese garbled solution 2010-02-23

    Oracle Client PL / SQL Chinese garbled solution Keywords: database pl / sql developer field garbled English In the windows to create a named "NLS_LANG" system environment variable, set the value "SIMPLIFIED CHINESE_CHINA.ZHS16GBK", and

  • jquery Chinese garbled solution parameters 2010-04-01

    jquery Chinese garbled solution parameters 1. (1) client sends data to the server when a secondary encodeURI, encodeURI (encodeURI (parameter)) Service code corresponding code according to your project (encoding) to conduct a URLDecoder.decode (param

  • SQL2005 Chinese garbled solution 2010-10-19

    SQL2005 Chinese garbled solution uses SQL SERVER2005, it is often encountered in the case of Chinese characters is garbled, after a study found, set the SQL collation can solve this problem. 1, the login server to open Microsoft SQL Server Management

  • Chinese garbled solution linux 2010-05-08

    Chinese garbled linux solution, in fact, there are a number of situations, in part because of terminal caused by the default settings vi / etc/sysconfig/i18n Would read LANG = "zh_CN.GB18030" LANGUAGE = "zh_CN.GB18030: zh_CN.GB2312: zh_CN&q

  • Linux oracle em Chinese garbled solution 2010-09-07

    If installed, the system environment variables we set in Chinese environment, then there would be no problem and this problem simply because the installation, JDK / JRE character set is automatically selected. In the $ ORACLE_HOME / jdk / jre / lib a

  • Chinese garbled solution putty 2010-07-30

    The following command to see if the system character set echo $ LANG $ LANGUAGE Oh, the original system's character set is UTF-8 ah. Select character set to return to the top of that step, select the configuration window on the left of Translation, i

  • [Full] putty color and the Chinese garbled solution 2011-07-21

    Introduction: putty used as a tool to connect unix operating system, has been very popular. I used to find solutions in the putty color and prompted the Chinese garbled, share. Try BBCode edit ~. = Body: The first part of the putty color 1, hand-colo

  • mysql Chinese garbled solution - turn 2011-08-23

    Environment: FEDORA12, mysql 5.0.45 Phenomenon: on this computer installed Tomcat as a web server, the deployment of a project, through the jdbc connection to mysql database. But found that the phenomenon of Chinese input and output garbled. Note: On

  • struts Chinese garbled solution 2009-05-14

    Struts beginner one who is of Chinese garbled encountered problems, the present solution are many. I There are two kinds of classical methods and to share with you. 1, rewrite RequestProcessor This is the simplest method. public class MyRequestProces

  • hibernate Chinese garbled solution 2010-03-22

    I use hibernate Synchronizer pm at the reading and writing data when the garbled. There are two solutions: The first approach: in two steps: An address is saved to the database when the garbage problem. In the hibernate.cfg.xml to add two lines: <pro