diff options
author | Pali Rohár | 2017-05-16 23:52:05 +0200 |
---|---|---|
committer | Pali Rohár | 2017-05-16 23:52:05 +0200 |
commit | 22acc2681de1ae2e10d7f1e7e62538af37bc2982 (patch) | |
tree | 31a64b2fd5ff573c0ff9032821af95843ae2229c /tests/expected | |
parent | libblkid: Add support for Latin1 encoding in blkid_encode_to_utf8() (diff) | |
download | kernel-qcow2-util-linux-22acc2681de1ae2e10d7f1e7e62538af37bc2982.tar.gz kernel-qcow2-util-linux-22acc2681de1ae2e10d7f1e7e62538af37bc2982.tar.xz kernel-qcow2-util-linux-22acc2681de1ae2e10d7f1e7e62538af37bc2982.zip |
libblkid: udf: Correctly handle UDF strings encoded in 8bit OSTA Compressed Unicode
String encoded in 8bit OSTA Compressed Unicode contains one Unicode
codepoint per 8bits. Maximal Unicode codepoint is U+FF. Which effectively
means that it is equivalent to Latin1 encoding.
Before this patch libblkid copied raw 8bit OSTA Compressed Unicode from
disk and treated it as UTF-8. It worked fine just for UTF-8 invariants,
other characters were incorrectly encoded. This patch fixes this problem.
Note that processing UUID is not fixed in this patch.
Diffstat (limited to 'tests/expected')
0 files changed, 0 insertions, 0 deletions