diff options
Diffstat (limited to 'libbe/ui/util/editor.py')
-rw-r--r-- | libbe/ui/util/editor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/ui/util/editor.py b/libbe/ui/util/editor.py index 206e9c4..fb51159 100644 --- a/libbe/ui/util/editor.py +++ b/libbe/ui/util/editor.py @@ -65,7 +65,7 @@ def editor_string(comment=None, encoding=None): >>> del os.environ["VISUAL"] """ if encoding == None: - encoding = libbe.util.encoding.get_filesystem_encoding() + encoding = libbe.util.encoding.get_text_file_encoding() editor = None for name in ('VISUAL', 'EDITOR'): if name in os.environ and os.environ[name] != '': |