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

Phillip Susi psusi at ubuntu.com
Tue Mar 24 17:02:10 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/24/2015 12:41 PM, H. Peter Anvin wrote:
> Most tools will probably simply pass them on.  Replacing them with
> U+FFFD would corrupt existing data.

There is no such thing as "pass them on".  They must be interpreted
somehow and typically converted to UTF-8.  And the whole idea is that
any data written to the partition table that contains surrogates *is*
corrupt.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJVEZiSAAoJENRVrw2cjl5Rn/oH/RZ1b+rhbzjA2XEwqWnKyIFD
No28V8yu3XaIua/TE6/bMe5RQq+6+hAZ4Fmt9hsWquI78bNzkW9a8Qga78IuoPjn
qxQqh0kGNn8rhaZ18XTkiU3S9WN63pNt2i8m//hR9M84XgrJQpLoxqSHYcGbTWbw
e9iGi6HYflA7I5tQh6/lGI2BLBOH+ZB3ijWSi7YJMOC3hpKKkTbOjxW7LztG3py3
E/Z3hy5zF91AUxQj887iTw4EaLjFTbyV0YvTL7qyR2upjEd6dbOW4aam0Q86HOcW
/GM8BCu3lidtUMlWk3PJ9QrcL/36HrcgY2g8yLWwy2Ad8ELWP0vuW6o9mkydIps=
=C271
-----END PGP SIGNATURE-----



More information about the parted-devel mailing list