🧀 Learn Linux

Advanced·Reading and processing text

iconv:Convert text encoding

Syntax

iconv -f source encoding -t target encoding file

Examples

iconv -f GB18030 -t UTF-8 legacy.txt

Usage and sandbox support

Manual reference only

Full documentation ↗

Related commands