fix by converting getcwd() to UTF-8