![]() |
![]()
| ![]() |
![]()
NAMEptrans —
ptrans command manual page
SYNOPSIS
DESCRIPTIONTheptrans command converts UTF-8 encoded text files to
files with any character encoding. Anything that does not fit requested
character mapping is expressed in the HTML format of Ӓ (decimal).
The options are as follows:
ENVIRONMENTTheptrans command uses the
PTRANS environment variable if no pagefile is
specified on the command line. If ptrans does not find
the PTRANS variable, it uses the
UTRANS environment variable instead.
It uses the The FILESThe binary pagefile is simply raw data. The text pagefile follows one of these formats:=A2 U+0123 /xE0 U1234 to map an 8-bit character code into Unicode encoding. These formats are identical to those used by utrans(1). EXAMPLESThe following is an example of a typical usage of theptrans command:
% ptrans -t -p iso8859-2.txt -i
source -o index.html SEE ALSOlibutf-8(3), utrans(1), uhtrans(1), hutrans(1), tuc(1), cat(1)Roman Czybora, The 8859 Alphabet Soup, http://czybora.com/charsets/iso8859.html. G. Adam Stanislav, Whiz Kid Technomagic i18n Tools, http://www.whizkidtech.net/i18n/. STANDARDSANSI X3.159-1989 (“ANSI C89”), number of other standards.DIAGNOSTICSExit status is 0 on success, 1 on invalid usage, 2 if a file cannot be opened, and 3 if memory allocation fails.AUTHORSThis manual page was written by G. Adam Stanislav ⟨adam@whizkidtech.net⟩.BUGSNo known bugs.
|