public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@ubuntu.com>
To: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: linux-fsdevel <linux-fsdevel@vger.kernel.org>
Subject: Re: msdos filesystem ignores codepage argument?
Date: Sun, 28 Dec 2014 19:51:03 -0500	[thread overview]
Message-ID: <54A0A577.4080806@ubuntu.com> (raw)
In-Reply-To: <87vbkvs7bx.fsf@devron.myhome.or.jp>

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

On 12/28/2014 06:06 PM, OGAWA Hirofumi wrote:
> Phillip Susi <psusi@ubuntu.com> writes:
> 
>> 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?
> 
> As I said, the codepage option is used for upper/lower conversion.

But userspace tools like ls and the terminal expect all filenames to
be in utf8, not in some random codepage that varies from fs to fs, so
how is it not a bug that the names aren't translated?


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

iQEcBAEBCgAGBQJUoKV3AAoJENRVrw2cjl5RRD8H/0dS+pLqrk1gHDCKs/jYaOgu
kyqmFQBlwHPNEGI3ekzpcQwkpH1EphbnZ4LtqSDSta4ZQ9NAs2iC31Z8/1mEo/Sv
h9UC5sxAF+1lfTRuz6vaZRfv5DUeo5406YvhtmoKDNL75Ji5YJl+1ZTP5jSmM2HC
ax8o3P5wmknfGSVGUgSvQOcKE+ZkdhZ8w6NgselLNOjea7trhEGWI0Up6CVHaJ+S
jGpGdLqozm67rY03bErFIgYRMVzcteA5EZvk/swfmAswHELI767Fyn18sH7Q0ZsQ
A6ew11ujCDcTntEV2+y3v/575cfRT6IQUXkkq5+iosmuT+BfwZi94ihOQHkpRAc=
=0nIy
-----END PGP SIGNATURE-----

  reply	other threads:[~2014-12-29  0:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2014-12-29  1:00         ` OGAWA Hirofumi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54A0A577.4080806@ubuntu.com \
    --to=psusi@ubuntu.com \
    --cc=hirofumi@mail.parknet.co.jp \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox