@LiquidCake commented on this pull request.
if (is_temp_saved_file_name(filename))
{ - GeanyDocument *doc = document_open_file(locale_file_path, FALSE, NULL, NULL); + gchar *locale_file_path, *file_path_utf8; + + locale_file_path = g_build_path(G_DIR_SEPARATOR_S, persistent_temp_files_target_dir, filename, NULL); + file_path_utf8 = utils_get_utf8_from_locale(locale_file_path); + GeanyDocument *doc = document_find_by_filename(file_path_utf8);
fixed