7 Replies Latest reply on Oct 24, 2010 11:49 PM by Flex harUI

    NativeProcess args encoding

    rafal drag



      I've recently encountered unexpected (sic!) problem with NativeProcess. I'm writing an app that uses ImageMagick that I'm bundling with the installer. However, in Poland (where I'm shipping the app to) user folder or filename can contain characters like "ą ć ę ś ź ń ó ł" - when I pass, for example, File.nativePath with those args, ImageMagick crashes due to "no input file" error.


      The question is, how to properly encode/transcode those args to avoid the problem?