Description Usage Arguments Details Value See Also
This function converts a list of integer vectors, representing UTF-32 code points, to a character vector.
1 | stri_enc_fromutf32(vec)
|
vec |
list of integer vectors or, for convenience, a single integer vector |
UTF-32 is a 32bit encoding in which each Unicode code point corresponds to exactly one integer value.
This functions roughly acts like a vectorized version of
intToUtf8
, as usual in stringi, it
returns character strings in UTF-8. If you have a list of
raw vectors on input, use stri_encode
.
Note that 0
s are not allowed in vec
, as they
are used to internally mark the end of a string (in the C
API).
If an incorrect code point is given, a warning is generated
and a string is set to NA
.
NULL
s in the input list are converted to
NA_character_
.
Returns a character vector (in UTF-8).
Other encoding_conversion: stri_conv
,
stri_encode
; stri_enc_toascii
;
stri_enc_toutf32
;
stri_enc_toutf8
;
stringi-encoding
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.