diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-10-24 22:25:29 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-10-24 22:25:29 +0200 |
commit | 26112352a774737e1ce5580c93654a26c1e82b39 (patch) | |
tree | d64e2f5b6e7aa92fa9a8ffb8ae5df75310532714 /doc/libunistring_5.html | |
parent | be8efac78d067c138ad8dda03df4336e73f94887 (diff) |
New upstream version 1.1upstream/1.1
Diffstat (limited to 'doc/libunistring_5.html')
-rw-r--r-- | doc/libunistring_5.html | 53 |
1 files changed, 31 insertions, 22 deletions
diff --git a/doc/libunistring_5.html b/doc/libunistring_5.html index 3366aed3..2152ca40 100644 --- a/doc/libunistring_5.html +++ b/doc/libunistring_5.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd"> <html> -<!-- Created on January, 2 2022 by texi2html 1.78a --> +<!-- Created on October, 16 2022 by texi2html 1.78a --> <!-- Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -109,26 +109,35 @@ parametrized through the following enumeration type: </p></dd></dl> <dl> -<dt><u>Constant:</u> enum iconv_ilseq_handler <b>iconveh_escape_sequence</b> +<dt><u>Constant:</u> enum iconv_ilseq_handler <b>iconveh_question_replacement_character</b> <a name="IDX150"></a> </dt> +<dd><p>This handler produces one U+FFFD per unconvertible character if that +fits in the target encoding, otherwise one question mark ‘<samp>?</samp>’ per +unconvertible character. +</p></dd></dl> + +<dl> +<dt><u>Constant:</u> enum iconv_ilseq_handler <b>iconveh_escape_sequence</b> +<a name="IDX151"></a> +</dt> <dd><p>This handler produces an escape sequence <code>\u<var>xxxx</var></code> or <code>\U<var>xxxxxxxx</var></code> for each unconvertible character. </p></dd></dl> -<a name="IDX151"></a> +<a name="IDX152"></a> <p>The following functions convert between strings in a specified encoding and Unicode strings. </p> <dl> <dt><u>Function:</u> uint8_t * <b>u8_conv_from_encoding</b><i> (const char *<var>fromcode</var>, enum iconv_ilseq_handler <var>handler</var>, const char *<var>src</var>, size_t <var>srclen</var>, size_t *<var>offsets</var>, uint8_t *<var>resultbuf</var>, size_t *<var>lengthp</var>)</i> -<a name="IDX152"></a> +<a name="IDX153"></a> </dt> <dt><u>Function:</u> uint16_t * <b>u16_conv_from_encoding</b><i> (const char *<var>fromcode</var>, enum iconv_ilseq_handler <var>handler</var>, const char *<var>src</var>, size_t <var>srclen</var>, size_t *<var>offsets</var>, uint16_t *<var>resultbuf</var>, size_t *<var>lengthp</var>)</i> -<a name="IDX153"></a> +<a name="IDX154"></a> </dt> <dt><u>Function:</u> uint32_t * <b>u32_conv_from_encoding</b><i> (const char *<var>fromcode</var>, enum iconv_ilseq_handler <var>handler</var>, const char *<var>src</var>, size_t <var>srclen</var>, size_t *<var>offsets</var>, uint32_t *<var>resultbuf</var>, size_t *<var>lengthp</var>)</i> -<a name="IDX154"></a> +<a name="IDX155"></a> </dt> <dd><p>Converts an entire string, possibly including NUL bytes, from one encoding to UTF-8 encoding. @@ -161,13 +170,13 @@ Particular <code>errno</code> values: <code>EINVAL</code>, <code>EILSEQ</code>, <dl> <dt><u>Function:</u> char * <b>u8_conv_to_encoding</b><i> (const char *<var>tocode</var>, enum iconv_ilseq_handler <var>handler</var>, const uint8_t *<var>src</var>, size_t <var>srclen</var>, size_t *<var>offsets</var>, char *<var>resultbuf</var>, size_t *<var>lengthp</var>)</i> -<a name="IDX155"></a> +<a name="IDX156"></a> </dt> <dt><u>Function:</u> char * <b>u16_conv_to_encoding</b><i> (const char *<var>tocode</var>, enum iconv_ilseq_handler <var>handler</var>, const uint16_t *<var>src</var>, size_t <var>srclen</var>, size_t *<var>offsets</var>, char *<var>resultbuf</var>, size_t *<var>lengthp</var>)</i> -<a name="IDX156"></a> +<a name="IDX157"></a> </dt> <dt><u>Function:</u> char * <b>u32_conv_to_encoding</b><i> (const char *<var>tocode</var>, enum iconv_ilseq_handler <var>handler</var>, const uint32_t *<var>src</var>, size_t <var>srclen</var>, size_t *<var>offsets</var>, char *<var>resultbuf</var>, size_t *<var>lengthp</var>)</i> -<a name="IDX157"></a> +<a name="IDX158"></a> </dt> <dd><p>Converts an entire Unicode string, possibly including NUL units, from UTF-8 encoding to a given encoding. @@ -203,13 +212,13 @@ encoding and NUL terminated Unicode strings. </p> <dl> <dt><u>Function:</u> uint8_t * <b>u8_strconv_from_encoding</b><i> (const char *<var>string</var>, const char *<var>fromcode</var>, enum iconv_ilseq_handler <var>handler</var>)</i> -<a name="IDX158"></a> +<a name="IDX159"></a> </dt> <dt><u>Function:</u> uint16_t * <b>u16_strconv_from_encoding</b><i> (const char *<var>string</var>, const char *<var>fromcode</var>, enum iconv_ilseq_handler <var>handler</var>)</i> -<a name="IDX159"></a> +<a name="IDX160"></a> </dt> <dt><u>Function:</u> uint32_t * <b>u32_strconv_from_encoding</b><i> (const char *<var>string</var>, const char *<var>fromcode</var>, enum iconv_ilseq_handler <var>handler</var>)</i> -<a name="IDX160"></a> +<a name="IDX161"></a> </dt> <dd><p>Converts a NUL terminated string from a given encoding. </p> @@ -220,13 +229,13 @@ encoding and NUL terminated Unicode strings. <dl> <dt><u>Function:</u> char * <b>u8_strconv_to_encoding</b><i> (const uint8_t *<var>string</var>, const char *<var>tocode</var>, enum iconv_ilseq_handler <var>handler</var>)</i> -<a name="IDX161"></a> +<a name="IDX162"></a> </dt> <dt><u>Function:</u> char * <b>u16_strconv_to_encoding</b><i> (const uint16_t *<var>string</var>, const char *<var>tocode</var>, enum iconv_ilseq_handler <var>handler</var>)</i> -<a name="IDX162"></a> +<a name="IDX163"></a> </dt> <dt><u>Function:</u> char * <b>u32_strconv_to_encoding</b><i> (const uint32_t *<var>string</var>, const char *<var>tocode</var>, enum iconv_ilseq_handler <var>handler</var>)</i> -<a name="IDX163"></a> +<a name="IDX164"></a> </dt> <dd><p>Converts a NUL terminated string to a given encoding. </p> @@ -240,13 +249,13 @@ strings in locale encoding and NUL terminated Unicode strings. </p> <dl> <dt><u>Function:</u> uint8_t * <b>u8_strconv_from_locale</b><i> (const char *<var>string</var>)</i> -<a name="IDX164"></a> +<a name="IDX165"></a> </dt> <dt><u>Function:</u> uint16_t * <b>u16_strconv_from_locale</b><i> (const char *<var>string</var>)</i> -<a name="IDX165"></a> +<a name="IDX166"></a> </dt> <dt><u>Function:</u> uint32_t * <b>u32_strconv_from_locale</b><i> (const char *<var>string</var>)</i> -<a name="IDX166"></a> +<a name="IDX167"></a> </dt> <dd><p>Converts a NUL terminated string from the locale encoding. </p> @@ -257,13 +266,13 @@ strings in locale encoding and NUL terminated Unicode strings. <dl> <dt><u>Function:</u> char * <b>u8_strconv_to_locale</b><i> (const uint8_t *<var>string</var>)</i> -<a name="IDX167"></a> +<a name="IDX168"></a> </dt> <dt><u>Function:</u> char * <b>u16_strconv_to_locale</b><i> (const uint16_t *<var>string</var>)</i> -<a name="IDX168"></a> +<a name="IDX169"></a> </dt> <dt><u>Function:</u> char * <b>u32_strconv_to_locale</b><i> (const uint32_t *<var>string</var>)</i> -<a name="IDX169"></a> +<a name="IDX170"></a> </dt> <dd><p>Converts a NUL terminated string to the locale encoding. </p> @@ -287,7 +296,7 @@ strings in locale encoding and NUL terminated Unicode strings. </tr></table> <p> <font size="-1"> - This document was generated by <em>Bruno Haible</em> on <em>January, 2 2022</em> using <a href="https://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>. + This document was generated by <em>Bruno Haible</em> on <em>October, 16 2022</em> using <a href="https://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>. </font> <br> |