Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Charset converter tool and library
C Shell TeX Python Emacs Lisp Objective-C Other
tag: v3.4

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
BACKLOG
COPYING
ChangeLog
File-Latin1
INSTALL
Makefile.in
Makefile.os2
NEWS
README
README.DOS
TAGS
THANKS
TODO
acconfig.h
aclocal.m4
ansi2knr.1
ansi2knr.c
applemac.c
argmatch.c
ascilat1.l
atarist.c
bangbang.c
c-boxes.el
cdcnos.c
charname.c
charname.h
charname.pl
charname.sed
charset.c
charset.pl
charset.sed
charset.texi
charset1.c
charset2.c
checkit
config.h.dos
config.h.in
config_h.os2
configdos
configure
configure.in
dosfn
ebcdic.c
error.c
flat.c
getopt.c
getopt.h
getopt1.c
htmllat1.l
ibmpc.c
iconqnx.c
initstep.h
install-sh
lat1asci.c
lat1html.c
lat1ltex.c
lat1txte.c
ltexlat1.l
merged.c
mergelex.awk
mkinstalldirs
next.c
pathmax.h
recode.c
recode.h
recode.info
recode.texi
rfc1345.txt
stamp-h.in
stamp-init
stamp-vti
texinfo.tex
txtelat1.l
version.texi
xmalloc.c
xstrdup.c

README

GNU `recode' converts files between character sets and usages.  When
exact transliterations are not possible, it may get rid of the
offending characters or fall back on approximations.  This program
recognizes or produces nearly 150 different character sets and is able
to transliterate files between almost any pair.  Most RFC 1345
character sets are supported.

GNU `recode' has been written by Franc,ois Pinard.  It is an evolving
product, and specifications might change in future releases.

Note that `-f' is not completely implemented.  If you modify or add
an `.l' source file, you need `mawk', GNU `awk' or `nawk', and Flex
2.4.6 or better for remaking `merged.c'.  Finally, see further down,
below, for various installation hints on special systems.

See file `BACKLOG' for a summary of pending mail and articles.
See file `COPYING' for copying conditions.
See file `INSTALL' for compilation and installation instructions.
See file `NEWS' for a list of major changes in the current release.
See file `README.DOS' for notes about the MSDOS port.
See file `THANKS' for a list of contributors.
Use file `File-Latin1' to play with recode, if you feel like it.

Your feedback will help us to make a better and more portable
product.  Mail suggestions and bug reports (including documentation
errors) for this program to `bug-gnu-utils@prep.ai.mit.edu'.  If you
develop new charsets, new methods, or anything along `recode', let
me know and share your findings, at `pinard@iro.umontreal.ca'.

.-------.
| Hints |
`-------'

Here are a few hints which might help installing `recode' on some
systems.  Most may be applied by temporary presetting environment
variables while calling `./configure'.  File `INSTALL' explains this.

* You may override DEFAULT_CHARSET while configuring.  For example, on
an AtariST using `bash', one could do:

	DEFAULT_CHARSET=AtariST ./configure

* Some C compilers, like Apollo's, have a real hard time compiling
merged.c.  If this is your case, first avoid compiler optimization.
From within the Bourne shell, you may use:

	CPPFLAGS=-DUSE_FPUTC CFLAGS= ./configure

* For 80286 based systems, it has been reported that some compilers
generate wrong code while optimizing for *small* models.  So, from
within the Bourne shell, do:

	CFLAGS=-Ml LDFLAGS=-Ml ./configure

to force large memory model.  For 80286 Xenix compiler, the last time
it was tried a while ago, one ought to use:

	CFLAGS='-Ml -F2000' LDFLAGS=-Ml ./configure

* Some smallish systems have poor `popen' support or trash heavily
when processes do fork.  In this case, just before doing `make', edit
`config.h' and ensure HAVE_POPEN and HAVE_PIPE are *not* defined.
Something went wrong with that request. Please try again.