Fix issues when starting portable from a non-ascii path
Merge pull request #787 from andkit/fix-761

Fix issues when starting portable from a non-ascii path (#761)