id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
2417	String in the editor's search field turns into garbage after reopening editor	ziv	andrew_b	"Actually, I'm not sure if it's a bug or rather an enhancement.

How to reproduce:
1. open a file in mcedit;
2. change encoding to any national one that is different from your system's locale (let's say, locale is ru_RU.utf8 and the file is in cp1251) using Alt+E;
3. search for some string in your language (Russian in our case) using F7;
4. exit mcedit;
5. open the same file or any other in mcedit;
6. press F7 to search.
You see garbage instead of your previous searched string. And you have to press Ctrl+Down to get it back. It's very annoying.

$ LC_ALL=C mc -V
GNU Midnight Commander unknown
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish
With builtin Editor
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm
With internationalization support
With multiple codepages support
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64;"	defect	closed	major	4.7.5	mcedit	4.7.4	fixed	search, mcedit, encoding	gotar@…				committed-master
