Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 290385 Details for
Bug 426756
Midnight Commander does not view correctly files with 8-bit characters except in UTF-8 locale
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
A simple patch that fixes the bug (not mine)
mc-view.patch (text/plain), 768 bytes, created by
Andrew Zabolotny
on 2007-12-25 21:47:04 UTC
(
hide
)
Description:
A simple patch that fixes the bug (not mine)
Filename:
MIME Type:
Creator:
Andrew Zabolotny
Created:
2007-12-25 21:47:04 UTC
Size:
768 bytes
patch
obsolete
>diff -Nrbu mc-4.6.1a/src/view.c mc-4.6.1a-OK/src/view.c >--- mc-4.6.1a/src/view.c 2006-05-05 19:01:49.000000000 +0400 >+++ mc-4.6.1a-OK/src/view.c 2006-05-05 18:39:24.000000000 +0400 >@@ -2006,16 +2006,19 @@ > if (col >= view->dpy_text_column > && col - view->dpy_text_column < width) { > widget_move (view, top + row, left + (col - view->dpy_text_column)); >-#ifndef UTF8 >+#ifdef UTF8 >+ if (SLsmg_is_utf8_mode ()) { >+ if (!iswprint (wc)) >+ wc = '.'; >+ tty_print_char (wc); >+ } else { >+#endif > c = convert_to_display_c (c); > if (!is_printable (c)) > c = '.'; > tty_print_char (c); >-#else >- wc = convert_to_display_c (wc); >- if (!iswprint (wc)) >- wc = '.'; >- tty_print_char (wc); >+#ifdef UTF8 >+ } > #endif > } > col++;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 426756
: 290385