Handle case where non unicode characters appear in process commandline