[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mount iso9660 can not show chinese filename..



On Wed, 21 Feb 2001, ha shao wrote:

> On Wed, Feb 21, 2001 at 10:25:44AM +0800, phinex@hpcc.ee.nthu.edu.tw wrote:
> > On Wed, Feb 21, 2001 at 04:24:00AM +0800, Cosmos wrote:
> > 	如果 mount 时只加上 iocharset=cp950 的选项..
> > 	而不加 codepage=950 的选项...
> > 	mount 光碟是可以看到中文长档名的...
> > 	但是对于 FAT 的 partition ...不管有没有加上 codepage=950.
> > 	都可以正确的看到中文长档名...
> 
> Good finding... This should go in to FAQ.

	linux/Documentation/filesystems/vfat.txt

============================================================================	
VFAT MOUNT OPTIONS
----------------------------------------------------------------------
codepage=###  -- Sets the codepage for converting to shortname characters
		 on FAT and VFAT filesystems.  By default, codepage 437
		 is used.  This is the default for the U.S. and some
		 European countries.
iocharset=name -- Character set to use for converting between 8 bit characters
		 and 16 bit Unicode characters. Long filenames are stored on
		 disk in Unicode format, but Unix for the most part doesn't
		 know how to deal with Unicode. There is also an option of
		 doing UTF8 translations with the utf8 option.
============================================================================

	如果不用到短档名, codepage 是不用加的, 如果要用到短档名, 理论上
	要加上 codepage.......

> > 	对了...如果 mount ntfs 的 partition...
> > 	要如何能够看到中文长档名呢?
> > 	我 mount ntfs 时没办法加入 iocharset 的选项...
> 
> Yes you can. 
> 
> # mount -t ntfs -o iocharset=cp936 /dev/hda23 /mnt -r

	最简单的做法, 是 compile kernel 时直接指定 default nls, 

	这样 codepage, iocharset 都不用加.

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.



Reply to: