specify unicode characters on command line

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: specify unicode characters on command line

Post by anthony »

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
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply