| 1 |
#+TITLE: README for Recode |
| 2 |
#+OPTIONS: H:2 toc:2 |
| 3 |
|
| 4 |
* Introduction |
| 5 |
** What is Recode? |
| 6 |
The Recode library converts files between character sets and usages. |
| 7 |
It recognises or produces over 200 different character sets (or about |
| 8 |
300 if combined with an *iconv* library) and transliterates files |
| 9 |
between almost any pair. When exact transliteration are not possible, |
| 10 |
it gets rid of offending characters or falls back on approximations. |
| 11 |
The *recode* program is a handy front-end to the library. |
| 12 |
|
| 13 |
Glance through this =README= file before starting configuration. Make |
| 14 |
sure you read files =ABOUT-NLS= and =INSTALL= if you are not familiar with |
| 15 |
them already. |
| 16 |
|
| 17 |
The Recode program and library have been written by François Pinard, |
| 18 |
yet it significantly reuses tabular works from Keld Simonsen. It is |
| 19 |
an evolving package, and specifications might change in future |
| 20 |
releases. |
| 21 |
|
| 22 |
On various Unix systems, Recode is usually compiled from sources, see |
| 23 |
the [[Installation]] section below. On Linux, it often comes bundled. |
| 24 |
Recode had been ported to other popular systems. See both |
| 25 |
[[http:/contrib.html][contrib/README]] and the [[Non-Unix ports]] section below, to find some more |
| 26 |
information about these. |
| 27 |
|
| 28 |
** Reports and collaboration |
| 29 |
Please file bug reports as [[https://github.com/rrthomas/Recode/issues][GitHub Issues]]. If you cannot use GitHub, do |
| 30 |
write directly to [[mailto:[email protected]]] A bug report is an adequate |
| 31 |
description of the problem: your input, what you expected, what you got, and |
| 32 |
why this is wrong. Patches are welcome, but they only describe a solution, |
| 33 |
from which the problem might be uneasy to infer. If needed, submit actual |
| 34 |
data files with your report. |
| 35 |
|
| 36 |
Your feedback will help us to make a better and more portable package. |
| 37 |
Consider documentation errors as bugs, and report them as such. If |
| 38 |
you develop anything pertaining to Recode or have suggestions, please |
| 39 |
share them on GitHub. |
| 40 |
|
| 41 |
The [[https://github.com/rrthomas/Recode][Git repository]] for Recode gives access, through the magic of Git and |
| 42 |
GitHub, to all distribution releases, be they actual or past, pretest or |
| 43 |
official, as well as individual files. |
| 44 |
|
| 45 |
* Installation |
| 46 |
** In a hurry? |
| 47 |
See =INSTALL=. (For installing from git, see =HACKING.org=.) |
| 48 |
|
| 49 |
More fine-grained instructions follow. |
| 50 |
|
| 51 |
** Prerequisites |
| 52 |
Simple installation of Recode requires the usual tools and facilities as |
| 53 |
those needed for most GNU packages. If not already bundled with your |
| 54 |
system, you also need to install [[https://www.python.org][Python]], version 3.5 or later. |
| 55 |
|
| 56 |
It is also convenient to have some *iconv* library already present on your |
| 57 |
system, this much extends Recode capabilities, especially in the area of |
| 58 |
Asiatic character sets. GNU *libc*, as found on Linux systems and a few |
| 59 |
others, already has such an *iconv* library. Otherwise, you might consider |
| 60 |
installing the [[https://www.gnu.org/software/libiconv/][portable libiconv]], written by Bruno Haible. |
| 61 |
|
| 62 |
** Getting a release |
| 63 |
Source files and various distributions (either latest, prestest, or |
| 64 |
archive) are available through [[https://github.com/rrthomas/Recode/][GitHub]]. |
| 65 |
|
| 66 |
** Configure options |
| 67 |
Once you have an unpacked distribution, see files: |
| 68 |
|
| 69 |
|-------------+------------------------------------------------| |
| 70 |
| File name | Description | |
| 71 |
|-------------+------------------------------------------------| |
| 72 |
| =ABOUT-NLS= | how to customise this program to your language | |
| 73 |
| =COPYING= | copying conditions for the program | |
| 74 |
| =COPYING.LIB= | copying conditions for the library | |
| 75 |
| =INSTALL= | compilation and installation instructions | |
| 76 |
| =NEWS= | major changes in the current release | |
| 77 |
| =THANKS= | partial list of contributors | |
| 78 |
|-------------+------------------------------------------------| |