Man page - txtconv(1)
Packages contains this manual
Manual
TXTCONV
NAMESYNOPSIS
OPTIONS
Further Information
NAME
txtconv - A tool to apply TECkit mappings to convert the encoding of a plain text file
SYNOPSIS
txtconv -i inFile -o outFile [ -t tecFile ] [ -r ] [ -if inForm ] [ -of outForm ] [ -nobom ] [ -nf [ cd ]] [ -u n ]
OPTIONS
Required
arguments:
-i
<file>
input file
-o <file>
output file
Optional
arguments:
-t
<file>
compiled TECkit mapping (.tec) file
|
-r |
reverse (RHS->LHS, or Unicode->Byte) mapping |
-if <form>
input encoding form
-of <form>
output encoding form
|
-nobom |
donβt write a BOM to Unicode output |
-nf[cd]
apply NFC or NFD normalization to Unicode output
|
-u <n> |
handling of unmappable input: |
β’ 0 = use replacement character
β’ 1 = use replacement but generate warning
β’ 2 = stop conversion
Encoding forms:
bytes utf8 utf16be utf16le utf16 utf32be utf32le utf32
Further Information
For further information see the document TECkit_Tools.pdf. On a Debian system, this can be found in /usr/share/doc/teckit.