[Pkg-mc-devel] Bug#359016: mc: Internal viewer/editor does not display 8-bit chars correctly
Milan Straka
fox at ucw.cz
Thu Jun 5 01:48:06 UTC 2008
Hello,
> Hello.
>
> On 2 June 2008, Milan Straka wrote:
>
> > With the same mc version I am experiencing the same problem.
>
> > My system locale is ISO-8859-2, the files are encoded in
> > ISO-8859-2, but mcview displays characters with code >= 128
> > corrupted in asciiview. Hexview in mcview works fine with
> > these charasters. Ctrl-T having no effect.
>
> Milan, did you try the patch (tty.diff)?
The patch works for me. Unpatched sources exhibit the bug,
patched does not. Tested with iso-8859-2 encoded file and
iso-8859-2 locale.
BTW the charset switching in the viewer [after applying tty.diff patch]
works correctly here. I tested 'no-translation', 'iso-8859-2',
'windows 1250' and 'cp 852' and it converts the viewed file
correctly in all cases.
Best,
Milan
More information about the Pkg-mc-devel
mailing list