Hello all.
With blkid utility i can find the FAT label. If the label is written
entirely English characters, then everything is fine. Using the Windows
you can set the label in any other language. I know this may not be
welcome, but nevertheless it is possible and could do so many people.
Particular, using Windows XP, I made the label "ÐÐÐÐÐÐÑÐÑÐÐ"(in Russian,
encoded in IBM 866 at disk). In Linux with blkid 2.19 i got here is an
unreadable output:
/dev/sdc1: LABEL="M-^JM-^NM-^LM-^LM-^EM-^MM-^RM-^PM-^HM-^I"
UUID="E659-39B0" TYPE="vfat"
I have no idea how i can decode such label.
Such label also refuse to accept other programs(cfdisk, dosfslabel).
Nevertheless, i found one that can give me the correct value of the
label - it's blkid from busybox. It looks like this:
/dev/sdc1: LABEL="ïïïïïïïïï" UUID="E659-39B0"
My system locale - UTF8, so this conclusion seems to be unreadable. But
it's easy to fix transcode IBM866 -> UTF8.
In summary, i think, in the deep of blkid/libblkid there is a problem
associated with excess/wrong encoding procedures.
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html