]> pd.if.org Git - pdclib/commit
PDCLIB-2 PDCLIB-12: If the internal character conversion routines are called
authorOwen Shepherd <owen.shepherd@e43.eu>
Mon, 31 Dec 2012 01:38:06 +0000 (01:38 +0000)
committerOwen Shepherd <owen.shepherd@e43.eu>
Mon, 31 Dec 2012 01:38:06 +0000 (01:38 +0000)
commit702e9008178bdb5c1b123b963868c946537fb7f5
tree2573a2b8cf9ed58914ed871b63f017bc1616a7f9
parent03c5509c96451f0ca62df447ffefce99ac823e89
PDCLIB-2 PDCLIB-12: If the internal character conversion routines are called
with p_outbuf == NULL, then they will perform the conversion but *not* store
the result. This facilitates the implementation of mbrlen and similar
functions.

Added (optional) UTF-16 variants of the conversion routines. If provided them,
then PDCLib will use them whenever it needs a UTF-16 conversion (e.g. uchar.h
UTF-16 routines, or wchar_t on win32)
internals/_PDCLIB_encoding.h
opt/basecodecs/_PDCLIB_ascii.c
opt/basecodecs/_PDCLIB_latin1.c
opt/basecodecs/_PDCLIB_utf8.c