Lines Matching +full:multi +full:- +full:function

65 functions convert character sequences, which may contain multi-byte
68 .Bl -tag -width mbrtowc_l
70 A UTF-16 code sequence, where every code point is represented by one or
73 The UTF-16 encoding will encode certain Unicode code points as a pair of
74 two 16-bit code sequences, commonly referred to as a surrogate pair.
76 A UTF-32 code sequence, where every code point is represented by a
80 Wide characters, being a 32-bit value where every code point is
103 .Sy UTF-8
105 .Sy en_US.UTF-8 ,
106 UTF-8 multi-byte character sequences that represent Unicode code points
110 function uses the locale passed in
115 either a 16-bit character sequence for
117 or a 32-bit character sequence for
127 argument represents a multi-byte conversion state which can be used
128 across multiple calls to a given function
140 then a function-specific buffer will be used for the conversion state;
147 surrogate pairs in UTF-16, which require two 16-bit characters to
150 .Sy -3 .
168 .Bd -literal -offset indent
178 When using these functions with non-Unicode based locales, the code
181 For example, if using the Euro sign in ISO 8859-15, these functions
187 pair in the UTF-16 encoding, it will still be encoded as a UTF-16
195 change for non-Unicode locales.
204 .Bl -tag -width (size_t)-3
224 .It Sy (size_t)-1
240 .It Sy (size_t)-2
244 were consumed, but a complete multi-byte character sequence has not been
251 .It Sy (size_t)-3
259 UTF-16 surrogate pair) and no input was consumed.
270 function to convert a multibyte string.
271 .Bd -literal
288 (void) setlocale(LC_CTYPE, "en_US.UTF-8");
295 (void) printf("Converted %zu bytes into UTF-32 character "
302 .Bd -literal -offset indent
304 Converted 3 bytes into UTF-32 character 0x5149
310 function.
311 .Bd -literal
328 (void) setlocale(LC_CTYPE, "en_US.UTF-8");
336 if (ret != (size_t)-3) {
341 (void) printf("UTF-16 surrogates: 0x%x 0x%x\n", first, second);
347 .Bd -literal -offset indent
349 UTF-16 surrogates: 0xd83d 0xdca9
359 .Bl -tag -width Er
367 .Sh MT-LEVEL
375 .Sy MT-Safe