Linux display Chinese directory and file name

  

Choose a once and for all method, is to modify the fstab file under /etc/, 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 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 originally, do not care about him, the following four lines and four I added, I only explain one of the lines. The ninth line: /dev/hda1 represents the system C disk (D disk The future is from 5, hda5 stands for D drive, in order) vfat is the partition format, here means fat32 (fat16 with ms Dos to express) winme is the folder I created under /mnt, in order to mount the C drive to /mnt/winme, add the parameter codepage=936, iocharset=cp936 is to display Chinese

Copyright © Windows knowledge All Rights Reserved