tMake enscript support at least some UTF-8. - pointtools - Simple point utilities to hold text presentations. (HTM) git clone git://r-36.net/pointtools (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit 9d9bd91369117238963de553f570318b6fb42437 (DIR) parent dd0a478f3e3154a2c890c8debdd58ce5ea8cf62e (HTM) Author: Christoph Lohmann <20h@r-36.net> Date: Sat, 2 May 2020 15:04:39 +0200 Make enscript support at least some UTF-8. Diffstat: bin/point2pdf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- (DIR) diff --git a/bin/point2pdf b/bin/point2pdf t@@ -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"