Introduction to Recode

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 will never be fixed.

Package Information

Additional Downloads

Recode Dependencies


Python-2.5.2 (for the “bigauto” test) and Dmalloc

User Notes:

Installation of Recode

Install Recode by running the following commands:

patch -Np1 -i ../recode-3.6-fixes-1.patch &&
./configure --prefix=/usr --without-included-gettext &&

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

Command Explanations

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


Installed Program: recode
Installed Library: librecode.{so,a}
Installed Directories: None

Short Descriptions


converts text between character sets.


contains functions for character set conversion.

Last updated on 2007-01-19 00:38:19 +0500