[parted-devel] [PATCH] GPT strings are UCS-2LE not UTF-16

H. Peter Anvin hpa at zytor.com
Tue Mar 24 16:41:23 UTC 2015


Most tools will probably simply pass them on.  Replacing them with U+FFFD would corrupt existing data.

On March 23, 2015 7:10:34 PM PDT, Phillip Susi <psusi at ubuntu.com> wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA512
>
>On 03/23/2015 04:57 PM, Brian C. Lane wrote:
>> If we crash on unexpected input then that's a problem that needs
>> fixing. But if they just show up as invalid character replacements
>> then that's a problem with whatever created it, not parted.
>
>Technically, yes, but if most other major partitioning tools accept
>such characters and write them to disk using the multi word encodings,
>and can read them back, then I'd be in favor of following suit in the
>name of improved functionality and interoperability.  I just don't
>think we should start doing that first, and then the other tools
>rightly reject the encodings as invalid.
>
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1
>
>iQEcBAEBCgAGBQJVEMeaAAoJENRVrw2cjl5RUv4H/AsigQD4tDkgyLXuXgMxIt4C
>UlkV1grAT6LqjFSliRFA/IDJ1eMN5GYq1eryaZSAvYPMbl4fvy6t0Ek0DcOdXDWJ
>rfmS2zyHG/TO3itF90gooAkZBf0reIV/9hy82z88qTHDr/sfSnHgNr8M/nEtGbnD
>pGOWlZersVAjaoYDxvkpKo4o6sJBZIKPGDGjRfXn9rx56EhMOQv3LVCd7jxvY/Pv
>XkY/WjYdb+TTm2sPtTzmb2NUh4dygHMyiYyuYl5K4zQAevYWFBLWAztidPjLK94h
>8WBYwOZGYt13JlcOjLlD09eQQ6CE6JmBLoMcR2INpqcC+aZqAaAYnip9dGv09Yg=
>=BOKg
>-----END PGP SIGNATURE-----

-- 
Sent from my mobile phone.  Please pardon brevity and lack of formatting.



More information about the parted-devel mailing list