summaryrefslogtreecommitdiffstats
path: root/tests/expected
diff options
context:
space:
mode:
authorPali Rohár2017-05-16 23:52:05 +0200
committerPali Rohár2017-05-16 23:52:05 +0200
commit22acc2681de1ae2e10d7f1e7e62538af37bc2982 (patch)
tree31a64b2fd5ff573c0ff9032821af95843ae2229c /tests/expected
parentlibblkid: Add support for Latin1 encoding in blkid_encode_to_utf8() (diff)
downloadkernel-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