fixed unicode decode error when application is launched from patch which contains non-ascii chars