]> pd.if.org Git - pdclib.old/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)
commit4fe88a1c445105a96d08b808831d6fc7480a211d
treee55837091407a6cb66276baa17a19e87f85f645c
parent3d8dbf37294136263403973fec89f50ab9eca402
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