Kaydet (Commit) e68f2546 authored tarafından Enrico Tröger's avatar Enrico Tröger

When using Save As the returned filename needs to be converted into UTF-8.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1193 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst ac48b2bc
......@@ -2,6 +2,8 @@
* src/vte.c:
Fixed changing directories when the path contains whitespace.
* src/callbacks.c: When using Save As the returned filename needs to be
converted into UTF-8.
2007-01-15 Nick Treleaven <nick.treleaven@btinternet.com>
......
......@@ -885,7 +885,8 @@ on_file_save_dialog_response (GtkDialog *dialog,
doc_list[idx].tm_file = NULL;
g_free(doc_list[idx].file_name);
}
doc_list[idx].file_name = new_filename;
doc_list[idx].file_name = utils_get_utf8_from_locale(new_filename);
g_free(new_filename);
utils_replace_filename(idx);
document_save_file(idx, TRUE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment