Greetings,
I am trying to append some text to an image using ImageMagick's convert and draw. I use the following command:
Code: Select all
convert -draw "text 0,0 'Écolière'" -font arial-unicode.ttf 1.png 2.png
When used in Ubuntu, or when used in Windows and typed directly into the command line prompt, the desired output is produced perfectly. However, putting the command in a batch file produces garbage characters instead of the 'É', 'è' and such. I have tried changing the batch file's encoding to ANSI, UTF-8, and basically every other encoding Notepad++ offers but with no success. I also tried changing the EOF to UNIX style, which unfortunately didn't work.
Is there any way to use these special characters in a Windows batch file?
Thank you for your time and please have a nice day!