← 返回命令列表

Linux command

luit 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Run command with encoding conversion

luit -encoding [ISO-8859-1] [command]

Connect to remote with encoding

luit -encoding [EUC-JP] ssh [host]

Force specific locale

luit -encoding [GB2312] -x

List supported encodings

luit -list

Run shell with encoding

luit -encoding [KOI8-R]

说明

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.

参数

-encoding _ENC_
Character encoding.
-x
Exit on child termination.
-list
List encodings.
-g _N_
GL character set.
--help
Display help information.

FAQ

What is the luit command used for?

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.

How do I run a basic luit example?

Run `luit -encoding [ISO-8859-1] [command]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -encoding _ENC_ do in luit?

Character encoding.