public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* msdos filesystem ignores codepage argument?
@ 2014-12-26 22:50 Phillip Susi
  2014-12-28 17:00 ` OGAWA Hirofumi
  0 siblings, 1 reply; 6+ messages in thread
From: Phillip Susi @ 2014-12-26 22:50 UTC (permalink / raw)
  To: hirofumi; +Cc: linux-fsdevel

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

I'm investigating a bug report about the msdos filesystem and the fact
that it appears to ignore the codepage argument.  The user wants to
use msdos instead of vfat to avoid adding long filenames to the fs and
store the short filenames using code page 850.  I verified that when
the on disk directory entry contains 0x8E, which is an umlouted A in
cp850, but when mounting with mount -t msdos no matter what codepage I
specify in -o, ls outputs the raw 0x8E rather than using the specified
codepage to translate the on disk string to utf8.  The msdos
filesystem refuses to accept the utf8 or iocharset options, so how do
you get it to do correct translation using the specified codepage?

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?

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

iQEcBAEBCgAGBQJUneYfAAoJENRVrw2cjl5RpOYH/3MsR7aeuJAKcAyIzo57k397
Ef9wAD37FxJ/CzQ8o+ZtlN4wMY2sYx6gbZBK5lfi2T6NfzJ/7k6zhG9Kxr+4zZyS
m/Zuq2NHN5dSANhaUqJNtRDHA1/kTHZHvC/oZ+Kpoogr1tOAslayuYz1L24Kz/FB
m3p6eXbRJBW1wJ2tqW3F45Wbw0oB9K7mBRGzTRedwVTSzNdGJdl2Dy+ru74r8yu2
5i4m7wmuwNZ7WtCd1Rs3B81wDwK0Uz8TPZL2W7lp15MHl1Bi8l9NsClYVcrXALLs
RacNE57laNu16ijTtJxgz7DBttZTQZRplCCB2pRLxr01Iv09TtJr/x+k8z3hYvA=
=O/ao
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-12-29  1:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-26 22:50 msdos filesystem ignores codepage argument? Phillip Susi
2014-12-28 17:00 ` OGAWA Hirofumi
2014-12-28 22:13   ` Phillip Susi
2014-12-28 23:06     ` OGAWA Hirofumi
2014-12-29  0:51       ` Phillip Susi
2014-12-29  1:00         ` OGAWA Hirofumi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox