GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
UTRANS(1) FreeBSD General Commands Manual UTRANS(1)

utrans
utrans command manual page

utrans [
-v
] [
-b
] [
-t
] [
-e
] [
-p pagefile
] [
-i inputfile
] [
-o outputfile
]

The utrans command converts text files created with any character encoding into UTF-8 format.
The options are as follows:
Uerbose mode.
Pagefile is binary (default).
Pagefile is plain text.
Ignore environment variables.
pagefile
File with the mapping of your 8-bit encoding into Unicode.
inputfile
Input (default: stdin).
outputfile
Output (default: stdout).

The utrans command uses the UTRANS environment variable if no pagefile is specified on the command line.
It uses the CHARMAPS environment variable to determine the path to the pagefile.
The utrans command igmores the environment variables if the -e switch is used.

The 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.

The following is an example of a typical usage of the utrans command:
% utrans -t -p iso8859-2.txt -i source -o index.html

libutf-8(3), 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/.

ANSI X3.159-1989 (“ANSI C89”), number of other standards.

Exit status is 0 on success, 1 on invalid usage, 2 if a file cannot be opened, and 3 if memory allocation fails.

This manual page was written by G. Adam Stanislav ⟨adam@whizkidtech.net⟩.

No known bugs.
April 4, 1998 FreeBSD 12.0-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.