terminal - How to write a luit command that outputs a file - Unix ...
If I install the packages with apt install lxde-core chromium xterm # works the package luit isn't installed at all. ... luit is only recommended in the xterm package
2 You could use luit, which would let you run your cp850 application in (whatever locale you can find for this) in a UTF-8 terminal, and let luit do the translation to/from the UTF-8. For what it's worth, a screenshot of cp850 with luit: The screenshots were setup by a set of scripts which displayed a test-screen for each locale encoding.
By the way, when excute the luit command, I got "Warning: couldn't set locale. Segmentation fault "
The downside of luit is that it doesn't support the wealth of encodings supported by libiconv. The upside is it's available almost everywhere. Transcode terminal encoding on the fly (in-band; hack): ttyconv is a hack I wrote many years ago (initially in C, later redone in Python) which uses libiconv to transcode terminal I/O.
Upon pressing é, my terminal sent 0xc3 0xa9, which luit translated to 0xe9, the shell line editor printed its echo as 0xe9 which luit translated back to 0xc3 0xa9 for it to display as é, but you can see od correctly received the 0xe9 byte which is the correct encoding of é in the ISO8859-15 charmap.