|

楼主 |
发表于 2003-6-7 15:07:48
|
显示全部楼层
This is weird, it worked for me.
Let me explain what the patch do:
With the vanilla kernel, you can mount NTFS partition with option iocharset=cp936, however some Chinese filenames are not coverted correctly. For example, the character ``gold'' won't be recongnized, if that file is in you current directory, a ``ls'' will give a error message like ``ls: file ``gold'' doesn't exist.''.
After applying this patch, the command ``ls'' will work as expected -- list the file ``gold''. However, you still need a correct encoding and appropriate fonts to see the Chinese characters (zh_CN.GB2312, for example).
Would you please specify your problem? Did you compile CP936 support into kernel or as a module? (If as a module, you need to replace the module file nls_cp936.o. In Debian it is at /lib/modules/<kernel-version>/kernel/fs/nls/, not sure about slackware.) Then you may need to remount your NTFS partition. |
|