summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2018-04-26 19:14:48 +0200
committerDavid Faure <faure@kde.org>2018-04-26 19:14:48 +0200
commitce12f187bfb157b13b7d854b2a2d1a3e50be91e7 (patch)
tree197ad3e0579157b44bfff9d99e44484baa0b31c5
parent8e6917273078d99f592be4e539381263ce6df6ca (diff)
downloadshared-mime-info-ce12f187bfb157b13b7d854b2a2d1a3e50be91e7.tar.gz
Check 128 bytes rather than 32.
https://bugs.freedesktop.org/show_bug.cgi?id=97372
-rw-r--r--shared-mime-info-spec.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-mime-info-spec.xml b/shared-mime-info-spec.xml
index bc697f38..40b7f400 100644
--- a/shared-mime-info-spec.xml
+++ b/shared-mime-info-spec.xml
@@ -912,7 +912,7 @@ the content is not available), use the default type of application/octet-stream
binary data, or text/plain for textual data. If there was no glob match, use the magic match
as the result.
</para><para>
-Note: Checking the first 32 bytes of the file for ASCII control characters is
+Note: Checking the first 128 bytes of the file for ASCII control characters is
a good way to guess whether a file is binary or text, but note that files with high-bit-set
characters should still be treated as text since these can appear in UTF-8 text,
unlike control characters.