Introduction
Introduction Statistics Contact Development Disclaimer Help
Make enscript support at least some UTF-8. - pointtools - Simple point utilitie…
git clone git://bitreich.org/pointtools/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfr…
Log
Files
Refs
Tags
README
LICENSE
---
commit 9d9bd91369117238963de553f570318b6fb42437
parent dd0a478f3e3154a2c890c8debdd58ce5ea8cf62e
Author: Christoph Lohmann <[email protected]>
Date: Sat, 2 May 2020 15:04:39 +0200
Make enscript support at least some UTF-8.
Diffstat:
M bin/point2pdf | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/bin/point2pdf b/bin/point2pdf
@@ -6,5 +6,8 @@
name="slides"
[ $# -gt 0 ] && name="$1"
-enscript *.txt -Brf "Courier16" -p - | ps2pdf - "${name}.pdf"
+enscript *.txt -Brf "Courier16" \
+ -I "cat %s | iconv -c -f utf-8 -t iso-8859-1//translit" \
+ -p - \
+ | ps2pdf - "${name}.pdf"
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.