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

Bug#749438: gparted stuck at "searching /dev/sdc partitions"



On Mon, May 26, 2014 at 06:52:11PM -0400, Phillip Susi wrote:
> -----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.

That is wrong. 0xBD in CP437 or CP850 page code is '╜' which corresponds
to character U+255C as iconv says.

0xBD is the '½' character (U+00BD) in the CP1252 page code usually used
by Windows.

I therefore think this bug is invalid, please close it if you agree.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: