]> git.phdru.name Git - dotfiles.git/blobdiff - .mc/menu
Use iconv.py instead of iconv
[dotfiles.git] / .mc / menu
index 730357a2aa3ec095ebc9a881749d902607e468d6..c3b6786ab74052259e9ff7460a1ab3f323784948 100644 (file)
--- a/.mc/menu
+++ b/.mc/menu
@@ -79,7 +79,11 @@ e  Edit doc with libreoffice
 
 += t r & f \.(docx|DOCX)$
 d  View docx with docx2txt
-   docx2txt %f - | ${PAGER:-more}
+   docx2txt %f - | iconv.py -f utf-8 | ${PAGER:-more}
+
++ t r & f \.(docx|DOCX)$
+e  Edit docx with libreoffice
+   libreoffice %f &
 
 += t r & f \.(xls|XLS)$
 x  View xls with xls2csv