1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

Serious upgrade of internal subset support, setup for gtk-doc, Daniel

This commit is contained in:
Daniel Veillard
1999-02-22 10:33:01 +00:00
parent 63dc42c681
commit 1e346af5e4
19 changed files with 1866 additions and 527 deletions

View File

@ -41,7 +41,7 @@
*
* Take a block of ISO Latin 1 chars in and try to convert it to an UTF-8
* block of chars out.
* return values: number of byte written, or -1 by lack of space.
* Returns the number of byte written, or -1 by lack of space.
*/
int
isolat1ToUTF8(unsigned char* out, int outlen, unsigned char* in, int inlen)
@ -77,7 +77,7 @@ isolat1ToUTF8(unsigned char* out, int outlen, unsigned char* in, int inlen)
* Take a block of UTF-8 chars in and try to convert it to an ISO Latin 1
* block of chars out.
* TODO: need a fallback mechanism ...
* return values: the number of byte written, or -1 by lack of space, or -2
* Returns the number of byte written, or -1 by lack of space, or -2
* if the transcoding failed.
*/
int
@ -112,7 +112,7 @@ UTF8Toisolat1(unsigned char* out, int outlen, unsigned char* in, int inlen)
*
* Take a block of UTF-16 ushorts in and try to convert it to an UTF-8
* block of chars out.
* return values: number of byte written, or -1 by lack of space.
* Returns the number of byte written, or -1 by lack of space.
*/
int
UTF16ToUTF8(unsigned char* out, int outlen, unsigned short* in, int inlen)
@ -161,7 +161,7 @@ UTF16ToUTF8(unsigned char* out, int outlen, unsigned short* in, int inlen)
* Take a block of UTF-8 chars in and try to convert it to an UTF-16
* block of chars out.
* TODO: need a fallback mechanism ...
* return values: the number of byte written, or -1 by lack of space, or -2
* Returns the number of byte written, or -1 by lack of space, or -2
* if the transcoding failed.
*/
int