Learn R Programming

stringi (version 0.1-25)

stri_enc_toutf32: Convert Strings To UTF-32

Description

UTF-32 is a 32bit encoding in which each Unicode code point corresponds to exactly one integer value. This function converts a character vector to a list of integer vectors. The individual code points then may easily be manipulated.

Usage

stri_enc_toutf32(str)

Arguments

str
character vector to be converted

Value

  • Returns a list of integer vectors.

Details

NA_character_s are converted to NULL.

This function is roughly equivalent to a vectorized call to utf8ToInt(enc2utf8(str)). If you want a list of raw vector on output, use stri_encode.

See Also

Other encoding_conversion: stri_conv, stri_encode; stri_enc_fromutf32; stri_enc_toascii; stri_enc_toutf8; stringi-encoding