in reply to Problem with strange URLs

Try the list form of system instead: system('explorer', $url);

Update seems not to work - go with the quoting mentioned in the other replies instead.