Converts character strings with declared encodings to the current native encoding.
a character vector to be converted
This function just calls
stri_encode(str, NULL, NULL).
The current native encoding can be read with
Character strings declared to be in
bytes encoding will fail here.
Note that if working in a UTF-8 environment,
resulting strings will be marked with
Returns a character vector.
Marek Gagolewski and other contributors
The official online manual of stringi at https://stringi.gagolewski.com/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.