Re: specify unicode characters on command line
Posted: 2008-06-23T18:09:55-07:00
At this time you can not specify \u escapes in IM, It just does not understand them sorry.
Though if your shell scripting allows you can use UFT-8 strings directly, though unless you are doing direct 'non-shell-parsed' calls to command from a API like perl, that will probably not work.
The better method to handle utf-8 binary text is either from a file or stdin using the '@' string escape.
Converting unicodes into utf-8 is best done though other programs, like the GNU printf (under linux) or the perl printf.
See IM Examples.
http://imagemagick.org/Usage/text/#unicode
Though if your shell scripting allows you can use UFT-8 strings directly, though unless you are doing direct 'non-shell-parsed' calls to command from a API like perl, that will probably not work.
The better method to handle utf-8 binary text is either from a file or stdin using the '@' string escape.
Converting unicodes into utf-8 is best done though other programs, like the GNU printf (under linux) or the perl printf.
See IM Examples.
http://imagemagick.org/Usage/text/#unicode