stri_enc_toutf32: Convert Strings To UTF-32

Description Usage Arguments Details Value See Also

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

1

Arguments

str

character vector to be converted

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.

Value

Returns a list of integer vectors.

See Also

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


stringi documentation built on May 2, 2019, 4:54 p.m.