diff options
Diffstat (limited to 'textd')
-rwxr-xr-x | textd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ # reads from stdin, and displays all text vertically using fonts # in DIR # assumes unicode utf-8 input -codes=$(iconv -f utf8 -t utf32be | xxd -u -p -c 4) +codes=$(iconv -f UTF-8 -t UTF-32BE | xxd -u -p -c 4) #convert to decimal, must replace ' ' with ';' first dec=$(echo -n "ibase=16;$codes" | bc 2>/dev/null) #converts space/newline delimited string to array |