Ubuntu changes your Chinese man garbled

Source: Internet
Author: User
Keywords Man ubuntu
Tags files information keywords name searches set user

The man command provides reference information about topics, such as commands, subroutines, and files. The man command provides a single-line description of the command specified by name. The man command also provides information about all commands that contain a user-specified set of keywords.

The man command formats the specified collection of manual pages. If you specify a segment for the section parameter, the man command searches the section of the manual page for the title specified by the title parameter. The value of the section parameter can be 1 to 8 Arabic numerals or letters.

The Chinese man in the source is not a UTF format
Display as garbled

Download Source: http://download.sf.linuxforum.net/cmpp/man-pages-zh_CN-1.5.tar.gz

Extract:

TAR-ZXVF man-pages-zh_cn-1.5.tar.gz

Compiler

CD man-pages-zh_cn-1.5
Make

Copy to System

sudo mkdir/usr/share/man/zh_cn
sudo cp-r utf-8/*/usr/share/man/zh_cn/

Modify configuration file

sudo gedit/etc/manpath.config

Change all the/usr/share/man inside to/USR/SHARE/MAN/ZH_CN.

In order to use the E-man in the Chinese man, advice:

Change all the/usr/share/man lines in the inside to/USR/SHARE/MAN/ZH_CN, add them to the front.

Try again:

Man Mount
Man Grub

Related Article

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.