I take it you're using the system($string) syntax (or similar) for calling out to handbrake? Have you tried the system(@list) syntax? It doesn't involve the shell, so you don't need to escape the file names.
In reply to Re^2: Escaping single quote in $string
by Anonymous Monk
in thread Escaping single quote in $string
by calebcall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |