mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-15 04:12:52 +03:00
Fix encoding of newly created files in editor
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
e9a644219a
commit
cf13c588d7
@ -576,6 +576,7 @@ edit_load_file (WEdit *edit)
|
||||
}
|
||||
edit->stack_disable = 0;
|
||||
}
|
||||
|
||||
#ifdef HAVE_CHARSET
|
||||
codepage_id = get_codepage_id( source_codepage );
|
||||
if ( codepage_id )
|
||||
|
Loading…
x
Reference in New Issue
Block a user