ANNOUNCE: DJGPP port of GNU IDN library 1.38 uploaded

Skip to first unread message

Juan Manuel Guerrero ( [via]

Nov 12, 2021, 2:55:18 PM11/12/21
This is a port of GNU IDN library 1.38 to MSDOS/DJGPP.

Libidn, the GNU IDN library, is a fully documented implementation of the
Stringprep, Punycode and IDNA specifications. The library's purpose is
to encode and decode internationalized domain name strings.

DJGPP specific changes.

- The source archive that has been used to create this port can be
downloaded as:

- There are no djgpp specific user visible changes.

- To build and use this port, a port of the iconv library is required.
It is available at and mirrors as:
This is not optional. The library and the binary do some recoding
of strings between some imput character set and an output character
set. If these products have not been compiled with iconv then only
ASCII input will be possible, but in that case the usage of the lib
would be pontless anyway. The input character set to be used must
be specified by setting the environment variable named CHARSET.
If that variable is not set then again ASCII is assumed and only
the characters less than 128 will be translated. For all others,
the applications will abort with an corresponding error message.
For most western/latin european countries the correct value of
CHARSET will be CP850. For other regions, the used DOS code page
must be specified as used character set.

- The port has been configured and compiled on WinXP SP3 and Win98SE.
There is no guarantee that this may be possible with any other DOS-
like OS. Due to the use of long file names it will not be possible
neither to configure nor to compile without LFN support. The port
has been compiled using gcc346 and bnu2351b.

- The port has been tested by using it. I have used them only on WinXP
and Win98SE. It has worked flawlessly. I do not konw if this will
ever be the case on FreeDOS. I have never used/tested them in that

- Some of the file names of the man pages are not SFN clean.
I have no intention to fix this.

- If NLS support is wanted, then the sources must be reconfigured
passing the nls option to config.bat.

As usual, all djgpp specific files (diffs, README files, etc.) are stored
in the "djgpp" directory. The sources have been configured to be build
in the "_build" directory. If for some reason it does not work for you,
delete it contents and configure from scratch again.

Please read the docs to become familiar with this product.

Here is an extract of the NEWS file showing the user visible changes
from the last port (GNU IDN library 1.35) to this one:


* Noteworthy changes in release 1.38 (2021-07-22) [stable]

** doc: Simplify building of gdoc-generated man/texi outputs.
Now the targets are rebuilt on version number changes properly.

** doc: Improve GTK-DOC manual.

** build: Fix build errors related to doc/idn--help.texi.

** build: Fix --disable-tld builds.
Now tld_strerror() is removed when --disable-tld is used.

* Noteworthy changes in release 1.37 (2021-05-15) [stable]

** doc: Minor fixes and codespell typos.

** Updated translations.

** Update gnulib files and build fixes.
We now use gnulib's ./bootstrap and gnulib's readme-release
infrastructure for making releases.

** API and ABI is backwards compatible with the previous version.

* Noteworthy changes in release 1.36 (2020-07-22) [stable]

** Fix unlikely memory leak in idna_to_unicode_4z4z().
Patch from Miroslav Lichvar <>.

** Check codepoint validity in punycode_decode() and punycode_decode().
Reported-by: Mike Schiffman (Farsight Security, Inc.).

** tld: Add U+00EF to .nl TLD table.
Reported by Trond Haugen <>.

** Indent code.

** Translation fixes.

** Update gnulib files.

** API and ABI is backwards compatible with the previous version.


The port consists of the usual three packages that have been produced using
djdev206 (CVS repository code) and can be downloaded from
and mirrors as (time stamp 2021-11-01):

libidn 1.38 binary, headers, library, info and man format documentation:

libidn 1.38 dvi, html, pdf and ps format documentation:

libidn 1.38 source:

Send GNU IDN library specific bug reports to <>.
Send suggestions and bug reports concerning the DJGPP port
to comp.os.msdos.djgpp or <>.


Guerrero, Juan Manuel <>

Reply all
Reply to author
0 new messages