aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/file_io.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/file_io.lua b/core/file_io.lua
index aca5af2b..d0c0fb8f 100644
--- a/core/file_io.lua
+++ b/core/file_io.lua
@@ -227,8 +227,7 @@ function io.save_file_as(filename)
local dir, name = (buffer.filename or ''):match('^(.-[/\\]?)([^/\\]*)$')
if not assert_type(filename, 'string/nil', 1) then
filename = ui.dialogs.filesave{
- title = _L['Save File'], with_directory = dir,
- with_file = name:iconv('UTF-8', _CHARSET),
+ title = _L['Save File'], with_directory = dir, with_file = name,
width = CURSES and ui.size[1] - 2 or nil
}
if not filename then return end