Then you need only to implement escape-java-to-utf8 in .bat only. Does not seem so very easy, does it...
You don't have to escape. Instead of doing:
- runtime.exec("convert image.gif -text t�st")
You would do:
- Write convert.bat in java (e.g. using FileWriter(c:/convert.bat)) with a content like: "convert image.gif -text t�st"
- Then do: runtime.exec("c:/convert.bat")
Get the idea?
Jaco
