summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
Diffstat (limited to 'external')
-rwxr-xr-xexternal/autopygmentize4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/autopygmentize b/external/autopygmentize
index 0b63c300..f18cac09 100755
--- a/external/autopygmentize
+++ b/external/autopygmentize
@@ -67,8 +67,8 @@ if [[ "$lexer" == text ]]; then
fi
encoding=$(file --mime-encoding --uncompress $file_common_opts "$file")
-if [[ $encoding == "us-asciibinarybinary" ]]; then
- encoding="us-ascii"
+if [[ $encoding == "binary" ]]; then
+ encoding="latin1"
fi
if [[ -n "$lexer" ]]; then