Jaco de Groot <[EMAIL PROTECTED]> wrote:
> Michiel Meeuwissen wrote:
> >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?

Ah yes, I do. That would perhaps work. Rather terrible too, isn't it? Should
also work in unix of course. You need a shell, then, which should be in the
path, or the location must be known?

Perhaps it would be worth a try.

 Michiel


-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

Reply via email to