Mail Archives: djgpp/2014/03/04/15:44:40
This is a port of libunistring 0.9.3 to MSDOS/DJGPP.
This library provides functions for manipulating Unicode strings and
for manipulating C strings according to the Unicode standard.
It consists of the following parts:
unistr.h elementary string functions
uniconv.h conversion from/to legacy encodings
unistdio.h formatted output to strings
uniname.h character names
unictype.h character classification and properties
uniwidth.h string width when using nonproportional fonts
uniwbrk.h word breaks
unilbrk.h line breaking algorithm
uninorm.h normalization (composition and decomposition)
unicase.h case folding
uniregex.h regular expressions (not yet implemented)
ATTENTION: to compile and use this port with DJGPP 2.03 you will have to
replace some headers in your installation and also replace some object files
in your libc.a This is required to resolve some function name clash and to
update some functionality to the DJGPP 2.04 level.
This concerns DJGPP 2.03 users only and is NOT optional.
DJGPP specific changes.
=======================
There are only some minor adjustments required to get the gnulib code
and test suite compiled with djgpp. As usual, all files required to
configure and compile the package are stored in the /djgpp directory.
To be able to configure and compile the package you will need LFN support.
This library depends on the iconv library. This is true for configuring,
compiling and using the library with your applications. The iconv library
is available for DJGPP 2.03 as:
<ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/licv114b.zip>
and for DJGPP 2.04 as:
<ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/licv114b.zip>
This library has been compiled using this iconv version. Do not link with
other versions, it may not work.
Please read the documentation to become familiar with this product.
This is an verbatim extract of the NEWS file:
-------------------------------------------------------------------------------
New in 0.9.3:
* Bug fixes in unistr.h functions:
- The functions u16_to_u32, u16_to_u8, u8_to_u32, u8_to_u16 now fail when
the argument is not valid. Previously, they returned a converted string
where invalid parts were each replaced with U+FFFD.
- The function u8_mbsnlen now counts an incomplete character at the end
of the argument string as 1 character. Previously, it could count as 2
or 3 characters.
- The return value of the u8_stpncpy, u16_stpncpy, u32_stpncpy functions
was incorrect.
- The u8_strcoll, u16_strcoll, u32_strcoll now try harder to give a non-zero
return value.
* Portability to MacOS X 10.6 and Cygwin 1.7.
-------------------------------------------------------------------------------
The port has been compiled using stock djdev203 (patchlevel 2) and consists
of the usual three packages that can be downloaded from ftp.delorie.com and
mirrors as (time stamp 2014-02-22):
libunistring 0.9.3 library, info and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/luns093b.zip
libunistring 0.9.3 dvi, html, ps and pdf format documentation:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/luns093d.zip
libunistring 0.9.3 source:
ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/luns093s.zip
The binaries have been produced a second time using the stock version of
djdev204 beta library. This package is available at ftp.delorie.com and
mirrors as (time stamp 2014-02-22):
libunistring 0.9.3 binary and man format documentation:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/luns093b.zip
Send suggestions and bug reports concerning the DJGPP port to
comp.os.msdos.djgpp or <djgpp AT delorie DOT com>. libunistring specific bugs
must be reported to <bug-libunistring AT gnu DOT org>.
Enjoy.
Guerrero, Juan Manuel <juan DOT guerrero AT gmx DOT de>
- Raw text -