Fix "Display character encoding on export" checkbox in prefs