hotfix for srt encoding and open FileDialog