On Thu, Jun 22, 2006 at 10:00:22PM +0200, Ludovic Drolez wrote: > Baurzhan Ismagulov wrote: > > "mcview a", F4 works fine on the linux console, but under screen the > > output is corrupt. I guess mc shouldn't print non-us-ascii characters > > when LC_CTYPE is C, that is why I'm reporting this to mc. > > Hi ! > > Using xterm with C, or uxterm with an UTF-8 locale, I do not see problems. > However, I can see garbage if I use uxterm + LANG=C. So I don't think that's > a mc problem...
no - it's an mc problem: setting locale to C means that none of the codes 128-255 are deemed printable. mc's still emitting them. Even if mc were doing the right thing, it's unlikely that the "printable" section of the hex display would give useful data for a number of cases, e.g., a UTF-8 file which I examined was handled properly in the text view but mishandled in the hex view. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgpRxyzPJHElC.pgp
Description: PGP signature

