Comment 15 for bug 27897

Revision history for this message
Martin Pitt (pitti) wrote : Re: Scambled label for usb disk

 hal (0.5.7-1ubuntu14) dapper; urgency=low
 .
   * Add debian/patches/14_prove_volume_invalidlabel.patch:
     - Do not try to fix device labels with invalid UTF-8 characters if more
       than 20% of the characters are invalid. This avoids totally
       unintelligible labels while still preserving only mildly damaged ones.
     - Closes: LP#27897

This should be a reasonable heuristics. Can you please confirm that it works for you?