]> git.phdru.name Git - dotfiles.git/blobdiff - .mc/mc.ext
.mc: Use `pdftotext`, iconv.py` and run a pager to view PDFs
[dotfiles.git] / .mc / mc.ext
index 9ee0d2d7497eccf88b9c1caeb2b7522062a89ac1..f0b5945fce3b38082df672d761413a4912ee835b 100644 (file)
@@ -510,7 +510,7 @@ type/^PDF
        Open=(see %f &)
        #Open=(acroread %f &)
        #Open=(ghostview %f &)
-       View=%view{ascii} pdftotext %f -
+       View=%view{ascii} pdftotext %f - | iconv.py -f utf-8
 
 # The following code very ugly and should not be taken as example.
 # It should be cleaned up when the new format of mc.ext is developed.