I don't really understand the hack, because I am already able to write special
characters (without any change in code), and also %h and %w are working.
It's about being able to use %h without %h being escaped and using text like e with acute (especially on Windows) and using character like +, @, (, ) which are special to ImageMagick.
Also the @-notation seems to work already, and I don't understand why it is essential to use a autocreated file to use %-chars.
How are you doing this?
I also did not test on Windows. Why could you not write non-ascii characters
in windows when not using a file?
I don't know. It just doesn't work....
I could not readily find in the image-magick documentation that the @-file must be coded according to UTF-8. Is it? Or does it also use some environmental setting for that? Since it is very hard to get those environmental settings right, when not using a file, it would make it lots easier to use a file if it doesn't matter there.
Couldn't find this in the docs either, but on my Linux system and the Windows server, I've created this patch for, it seems to read the file as UTF-8, and I don't have any environmental setting set to UTF-8 on those machine AFAIK.
Jaco
