Does -encoding work?
Posted: 2008-05-13T05:58:48-07:00
I have IM 6.4.1 installed on my Debian server and have serious problems with writing national/Unicode characters with any functions.
Whatever I write in encoding param, it doe's not matter. The output stays the same.
I tried to convert UTF-8 formated text from this example:
http://www.cl.cam.ac.uk/~mgk25/ucs/exam ... 8-demo.txt
with this command:
...and the effect is always like that:
A simple example from:
http://www.imagemagick.org/Usage/text/#unicode
produces:
What do I do wrong?
Whatever I write in encoding param, it doe's not matter. The output stays the same.
I tried to convert UTF-8 formated text from this example:
http://www.cl.cam.ac.uk/~mgk25/ucs/exam ... 8-demo.txt
with this command:
Code: Select all
convert -background lightblue -encoding 'Unicode' -fill blue label:@UTF-8-demo.txt test.gif
A simple example from:
http://www.imagemagick.org/Usage/text/#unicode
Code: Select all
env LC_CTYPE=en_AU.utf8 \
printf "\u2018single\u2019 - \u201Cdouble\u201D" | \
convert -background lightblue -fill blue -pointsize 36 \
label:@- label_quotes.gif
What do I do wrong?