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

Ok, I have been able to reproduce this and diagnose the problem.  Your "3 1/2 
inch floppy link" file contains the "1/2" character, which in code page 437 ( 
the original IBM PC character set ) is 0xBD.  In UTF-8, this is an incomplete 
multi byte sequence.  Dosfsck therefore, is emitting invalid UTF-8 character 
sequences by blindly spitting out the characters as they appear on disk.  It 
should be translating them to the current system character set ( normally UTF-8 
) using the iconv library, and assuming the characters on disk are CP-437 
unless otherwise directed.  I am therefore cloning this bug and assigning it to 
dosfstools.

In addition, when using iconv to convert this character to valid UTF-8, it maps 
it to U+255C instead of U+00BD, so I'm cloning the bug there as well.

Control: clone -1 -2
Control: reassign -1 dosfstools
Control: submitter -1 ps...@ubuntu.com
Control: retitle -1 dosfsck emits invalid UTF-8
Control: reassign -2 libc-bin
Control: retitle -2 iconv maps 0xBD in CP-437 incorrectly
Control: submitter -2 ps...@ubuntu.com

Finally, I'm working on figuring out how to patch gparted to ignore the 
conversion error and skip the invalid characters.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTg8WbAAoJEI5FoCIzSKrwVhsIAKECoVzxwj7+HfLVC2DGWvRc
AGv9ck11WOSo3GNyjrpL0u23MVI+It+ogKkEdszixk7sVEB9A4RxI3FkCV1qYb5N
ZpF3Bh4CyqHzlWXTLEFl8sNjvFsSiJtKqh/ZEMP+vqYP0Z1hj+IH/1+2DQuAbOrd
wdGPoK2WbXbB1VPugIVRndpZm1Tela48SzwmdF6W9RojG5yISS5Un2ca1ePWd65p
5QLkwuItkUYO3AEBgA52UpakPXQc0f72X/c51lOcAcLylr1QHv1CCLyy0NFfVCHs
+/K/l0M672+Bywd28GEueAVyqrCtumVW3zJI+cfEaAMKIOoKCg81QhYABsTLTtA=
=QzEg
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to