Re: msdos filesystem ignores codepage argument?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 12/28/2014 12:00 PM, OGAWA Hirofumi wrote:
> codepage option is to specify what codepage is used as on-disk
> encode in FAT, not how convert to encoding to show.
> 
> And msdos driver doesn't have the feature to encoding conversion
> between on-disk and user (codepage is used only to upper/lower case
> conversion basically).  IOW, msdos assumes the user and on-disk
> encodings are same.

Umm... so you are saying the argument does nothing on purpose?  What
is the use of specifying the on disk code page if not so that it can
be translated to utf8?

>> Also in the process I noticed some odd behavior of ls.  If I set
>> my terminal to use cp850 and ls | cat, I see the umlouted A, but
>> without piping the output through cat, it comes out as a question
>> mark.  Why is that?
> 
> It is what "ls" does. Probably, following option will show raw
> string
> 
> $ ls -N --show-control-chars

What exactly is it doing that causes its output to differ when sent to
a tty vs a pipe?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCgAGBQJUoIB6AAoJENRVrw2cjl5RkOYIAJ0P7nkRGvvNgONFZFElIoFA
ZV1Ki63L/gC1RpZLcGEQp1Oc2nGPUhQYI00brbBDRJU0u8wbv2zMcMVldxP0xOp6
zSLKe631egyK8Tlq85t7DtC8XElYyEtTVgfTvlcLYpH4avOj5jURN99dFUhtnHYy
sKW+z+aRNzhG5qvopagWwWs8bg0ew0PcjY61GoJcfzgud2TZkLd0JE8OOxQJsbLh
ewxXIjJrL/DnRDwu1wy8mEZ7VhA2f1ADRdq6fYGh4K0q5C9jP1ZXDl2k/CPJaRF2
nSg/6XE9SKPVeHwuTHtfxUguNnte9AIhFGps7aXBYw9tiPOLnsg6kv17sxTYtRo=
=8IP6
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux