OS Manuals

/usr/bin/piconv

various utilities included with perl

From perl-utils 5.44.0-r4 (os), captured 2026-11-05 by running piconv --help (exit 0). permalink

piconv [-f from_encoding] [-t to_encoding]
      [-p|--perlqq|--htmlcref|--xmlcref] [-C N|-c] [-D] [-S scheme]
      [-s string|file...]
piconv -l
piconv -r encoding_alias
piconv -h
Common options:
  -l,--list
     lists all available encodings
  -r,--resolve encoding_alias
    resolve encoding to its (Encode) canonical name
  -f,--from from_encoding
     when omitted, the current locale will be used
  -t,--to to_encoding
     when omitted, the current locale will be used
  -s,--string string
     "string" will be the input instead of STDIN or files
The following are mainly of interest to Encode hackers:
  -C N | -c           check the validity of the input
  -D,--debug          show debug information
  -S,--scheme scheme  use the scheme for conversion
Those are handy when you can only see ASCII characters:
  -p,--perlqq         transliterate characters missing in encoding to \x{HHHH}
                      where HHHH is the hexadecimal Unicode code point
  --htmlcref          transliterate characters missing in encoding to &#NNN;
                      where NNN is the decimal Unicode code point
  --xmlcref           transliterate characters missing in encoding to &#xHHHH;
                      where HHHH is the hexadecimal Unicode code point
Options (12)
OptionDescriptionSource
-l, --listLists all available encodings, one per line, in case-insensitive order.help + man
-r, --resolve encoding_aliasResolve encoding_alias to Encode canonical encoding name.help + man
-f, --from from_encodingSpecifies the encoding you are converting from.help + man
-t, --to to_encodingwhen omitted, the current locale will be usedhelp + man
-s, --string string"string" will be the input instead of STDIN or fileshelp + man
-C, -c, --check NCheck the validity of the stream if N = 1.help + man + man
-D, --debugInvokes debugging mode.help + man
-S, --scheme schemeSelects which scheme is to be used for conversion.help + man
-p, --perlqqtransliterate characters missing in encoding to \x{HHHH} where HHHH is the hexadecimal Unicode code pointhelp + man
--htmlcreftransliterate characters missing in encoding to &#NNN;help + man
--xmlcreftransliterate characters missing in encoding to &#xHHHH;help + man
-h, --helpShow usage. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.