- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
String in the editor's search field turns into garbage after reopening editor #2417
Comments
BTW, the same search string is shown correctly in the viewer. |
Couldn't reproduce it with ISO-8859-2 and CP1250. |
Replying to gotar:
Anyone with ru_RU.utf8 to test? |
Replying to ziv:
You shoud try yourself with e.g. KOI8-R and CP1251, this might be UTF-related due to multibyte all russian characters. |
Replying to gotar:
No, this is not utf-related. It is always reproducable bug. There is an incorrect charset conversion in edit_search_cmd(). |
Created 2417_edit_search_charset branch. Parent branch is master. |
|
|
Merged to master.
|
|
It works. Thanks! |
Important
This issue was migrated from Trac:
ziv
(f2404@….ru)gotar@….pl
search
,mcedit
,encoding
Actually, I'm not sure if it's a bug or rather an enhancement.
How to reproduce:
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;
Note
Original attachments:
ziv
(f2404@….ru) onNov 12, 2010 at 11:38 UTC
The text was updated successfully, but these errors were encountered: