Linux displays Chinese directory and filename

Source: Internet
Author: User

Choose a permanent method, is to modify the/etc/under the Fstab file, my fstab content is as follows:

/DEV/HDA9/EXT2 Defaults 1 1

/dev/hda8/boot ext2 Defaults 1 2

None/dev/pts devpts gid=5,mode=620 0 0

NONE/PROC proc Defaults 0 0

NONE/DEV/SHM TMPFS Defaults 0 0

/DEV/HDA10 Swap Defaults 0 0

/dev/cdrom/mnt/cdrom iso9660 Noauto,owner,kudzu,ro 0 0

/dev/fd0/mnt/floppy Auto Noauto,owner,kudzu 0 0

/dev/hda1/mnt/winme vfat defaults,codepage=936,iocharset=cp936 0 0

/dev/hda5/mnt/program vfat defaults,codepage=936,iocharset=cp936 0 0

/dev/hda6/mnt/backup vfat defaults,codepage=936,iocharset=cp936 0 0

/dev/hda7/mnt/files vfat defaults,codepage=936,iocharset=cp936 0 0

The first eight lines are the system already have, do not care about him, the following four line four I added, I only explain one line

Line Nineth:/DEV/HDA1 on behalf of the System C disk (d disk is starting from 5, HDA5 represents D disk, ranked)

VFAT is a partitioned format, where the FAT32 (FAT16 is represented by MSDOS)

WinME is the folder I set up under/mnt to mount the C-disk under/mnt/winme,

Add parameter codepage=936,iocharset=cp936 is to display Chinese

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.