LinuxCommandLibrary

luit

converts between terminal encoding and application encoding

TLDR

Run command with encoding conversion
$ luit -encoding [ISO-8859-1] [command]
copy
Connect to remote with encoding
$ luit -encoding [EUC-JP] ssh [host]
copy
Force specific locale
$ luit -encoding [GB2312] -x
copy
List supported encodings
$ luit -list
copy
Run shell with encoding
$ luit -encoding [KOI8-R]
copy

SYNOPSIS

luit [options] [command]

DESCRIPTION

luit converts between terminal encoding and application encoding. It enables UTF-8 terminals to run legacy apps.
The tool acts as a filter between the terminal and the application, translating character encodings.

PARAMETERS

COMMAND

Command to run with encoding.
-encoding ENC
Character encoding.
-x
Exit on child termination.
-list
List encodings.
-g N
GL character set.
--help
Display help information.

CAVEATS

X11 tool. May not handle all encodings. Complex legacy encoding support.

HISTORY

luit was created for XFree86/X.Org to handle encoding conversion for terminals running UTF-8.

SEE ALSO

xterm(1), iconv(1), locale(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard