The Recode package contains a program for converting text between character sets, and a library that exposes this functionality to other applications. Note that the same functionality (but with different API) is provided by iconv, which is installed in LFS as a part of Glibc.
The Recode package is no longer maintained upstream. Wishlist bugs such as http://bugs.debian.org/94966 will never be fixed.
Download (HTTP): http://ftp.gnu.org/gnu/recode/recode-3.6.tar.gz
Download (FTP): ftp://ftp.gnu.org/gnu/recode/recode-3.6.tar.gz
Download MD5 sum: be3f40ad2e93dae5cd5f628264bf1877
Download size: 1.7 MB
Estimated disk space required: 24 MB
Estimated build time: 0.1 SBU
Python-2.5.2 (for the “bigauto” test) and Dmalloc
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/recode
Install Recode by running the following commands:
patch -Np1 -i ../recode-3.6-fixes-1.patch && ./configure --prefix=/usr --without-included-gettext && make
To test the results, issue: make check. The testsuite will warn about the “bigauto” test being skipped. The editors did not attempt to run this test to the end, because it uses obsolete Python constructions.
Now, as the root
user:
make install
--without-included-gettext
:
This parameter forces the use of gettext
implementation provided by Glibc instead of the very old internal copy.
The internal copy produces incorrect output in UTF-8 locales.
Last updated on 2007-01-19 00:38:19 +0500