unutf8 - Translate UTF8 encodings in text to legible text
unutf8 is a filter that translates UTF8 encodings in text to legible
text. The data to be translated will be taken either from a file (if one
was named on the command line) or from standard input.
In some cases, the input might have to be first passed through the
cat -v command.
This script does not convert all UTF8 characters. It translates those
commonly encountered by the author.
Character translations are taken from
unutf8 takes the following options:
Format the translated lines so they're broken into a lines of a set length.
The actual effect is to pass the translated lines to the fmt command.
If the -width option is not given, then a default line width of 72
characters will be used.
- -width linewidth
Specify a rough line width to pass to the fmt command. This value will
be passed to the fmt command. This option implies the -format
Display the version information for unutf8.
Display a help message.
Wayne Morrison, email@example.com
Copyright 2014 Wayne Morrison
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.