diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-03-07 05:31:03 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-03-07 05:31:03 +0100 |
commit | f7c3580478601e3a77dc864e5a1d91c1edad5187 (patch) | |
tree | 26f2b85233e76ce30cbd013559944404e66a6552 /doc/libunistring_5.html | |
parent | 44a3eaeba04ef78835ca741592c376428ada5f71 (diff) |
New upstream version 0.9.9upstream/0.9.9
Diffstat (limited to 'doc/libunistring_5.html')
-rw-r--r-- | doc/libunistring_5.html | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/doc/libunistring_5.html b/doc/libunistring_5.html index 0faa6534..fc63eb0e 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 November, 30 2017 by texi2html 1.78a --> +<!-- Created on February, 28 2018 by texi2html 1.78a --> <!-- Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -42,8 +42,8 @@ ul.toc {list-style: none} <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> <table cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="libunistring_4.html#SEC11" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="libunistring_6.html#SEC18" title="Next chapter"> >> </a>]</td> +<tr><td valign="middle" align="left">[<a href="libunistring_4.html#SEC10" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="libunistring_6.html#SEC31" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -51,24 +51,24 @@ ul.toc {list-style: none} <td valign="middle" align="left"> </td> <td valign="middle" align="left">[<a href="libunistring.html#SEC_Top" title="Cover (top) of document">Top</a>]</td> <td valign="middle" align="left">[<a href="libunistring.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[<a href="libunistring_19.html#SEC77" title="Index">Index</a>]</td> +<td valign="middle" align="left">[<a href="libunistring_20.html#SEC91" title="Index">Index</a>]</td> <td valign="middle" align="left">[<a href="libunistring_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <hr size="2"> <a name="uniconv_002eh"></a> -<a name="SEC17"></a> -<h1 class="chapter"> <a href="libunistring.html#TOC17">5. Conversions between Unicode and encodings <code><uniconv.h></code></a> </h1> +<a name="SEC30"></a> +<h1 class="chapter"> <a href="libunistring.html#TOC30">5. Conversions between Unicode and encodings <code><uniconv.h></code></a> </h1> <p>This include file declares functions for converting between Unicode strings and <code>char *</code> strings in locale encoding or in other specified encodings. </p> -<a name="IDX154"></a> +<a name="IDX145"></a> <p>The following function returns the locale encoding. </p> <dl> <dt><u>Function:</u> const char * <b>locale_charset</b><i> ()</i> -<a name="IDX155"></a> +<a name="IDX146"></a> </dt> <dd><p>Determines the current locale's character encoding, and canonicalizes it into one of the canonical names listed in ‘<tt>config.charset</tt>’. @@ -88,14 +88,14 @@ parametrized through the following enumeration type: </p> <dl> <dt><u>Type:</u> <b>enum iconv_ilseq_handler</b> -<a name="IDX156"></a> +<a name="IDX147"></a> </dt> <dd><p>This type specifies how unconvertible characters in the input are handled. </p></dd></dl> <dl> <dt><u>Constant:</u> enum iconv_ilseq_handler <b>iconveh_error</b> -<a name="IDX157"></a> +<a name="IDX148"></a> </dt> <dd><p>This handler causes the function to return with <code>errno</code> set to <code>EILSEQ</code>. @@ -103,32 +103,32 @@ parametrized through the following enumeration type: <dl> <dt><u>Constant:</u> enum iconv_ilseq_handler <b>iconveh_question_mark</b> -<a name="IDX158"></a> +<a name="IDX149"></a> </dt> <dd><p>This handler produces 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="IDX159"></a> +<a name="IDX150"></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="IDX160"></a> +<a name="IDX151"></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="IDX161"></a> +<a name="IDX152"></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="IDX162"></a> +<a name="IDX153"></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="IDX163"></a> +<a name="IDX154"></a> </dt> <dd><p>Converts an entire string, possibly including NUL bytes, from one encoding to UTF-8 encoding. @@ -161,13 +161,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="IDX164"></a> +<a name="IDX155"></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="IDX165"></a> +<a name="IDX156"></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="IDX166"></a> +<a name="IDX157"></a> </dt> <dd><p>Converts an entire Unicode string, possibly including NUL units, from UTF-8 encoding to a given encoding. @@ -203,13 +203,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="IDX167"></a> +<a name="IDX158"></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="IDX168"></a> +<a name="IDX159"></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="IDX169"></a> +<a name="IDX160"></a> </dt> <dd><p>Converts a NUL terminated string from a given encoding. </p> @@ -220,13 +220,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="IDX170"></a> +<a name="IDX161"></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="IDX171"></a> +<a name="IDX162"></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="IDX172"></a> +<a name="IDX163"></a> </dt> <dd><p>Converts a NUL terminated string to a given encoding. </p> @@ -240,13 +240,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="IDX173"></a> +<a name="IDX164"></a> </dt> <dt><u>Function:</u> uint16_t * <b>u16_strconv_from_locale</b><i> (const char *<var>string</var>)</i> -<a name="IDX174"></a> +<a name="IDX165"></a> </dt> <dt><u>Function:</u> uint32_t * <b>u32_strconv_from_locale</b><i> (const char *<var>string</var>)</i> -<a name="IDX175"></a> +<a name="IDX166"></a> </dt> <dd><p>Converts a NUL terminated string from the locale encoding. </p> @@ -257,13 +257,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="IDX176"></a> +<a name="IDX167"></a> </dt> <dt><u>Function:</u> char * <b>u16_strconv_to_locale</b><i> (const uint16_t *<var>string</var>)</i> -<a name="IDX177"></a> +<a name="IDX168"></a> </dt> <dt><u>Function:</u> char * <b>u32_strconv_to_locale</b><i> (const uint32_t *<var>string</var>)</i> -<a name="IDX178"></a> +<a name="IDX169"></a> </dt> <dd><p>Converts a NUL terminated string to the locale encoding. </p> @@ -273,8 +273,8 @@ strings in locale encoding and NUL terminated Unicode strings. </p></dd></dl> <hr size="6"> <table cellpadding="1" cellspacing="1" border="0"> -<tr><td valign="middle" align="left">[<a href="libunistring_4.html#SEC11" title="Beginning of this chapter or previous chapter"> << </a>]</td> -<td valign="middle" align="left">[<a href="libunistring_6.html#SEC18" title="Next chapter"> >> </a>]</td> +<tr><td valign="middle" align="left">[<a href="libunistring_4.html#SEC10" title="Beginning of this chapter or previous chapter"> << </a>]</td> +<td valign="middle" align="left">[<a href="libunistring_6.html#SEC31" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> @@ -282,12 +282,12 @@ strings in locale encoding and NUL terminated Unicode strings. <td valign="middle" align="left"> </td> <td valign="middle" align="left">[<a href="libunistring.html#SEC_Top" title="Cover (top) of document">Top</a>]</td> <td valign="middle" align="left">[<a href="libunistring.html#SEC_Contents" title="Table of contents">Contents</a>]</td> -<td valign="middle" align="left">[<a href="libunistring_19.html#SEC77" title="Index">Index</a>]</td> +<td valign="middle" align="left">[<a href="libunistring_20.html#SEC91" title="Index">Index</a>]</td> <td valign="middle" align="left">[<a href="libunistring_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> - This document was generated by <em>Daiki Ueno</em> on <em>November, 30 2017</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>. + This document was generated by <em>Daiki Ueno</em> on <em>February, 28 2018</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.78a</em></a>. </font> <br> |