Description Usage Arguments Details Value See Also
Converts input strings to ASCII, i.e. to strings with all codes <= 127.
1 |
str |
character vector to be converted |
All charcodes > 127 are replaced with ASCII SUBSTITUTE CHARACTER (0x1A). R encoding marking is always used, to determine whether an 8-bit encoding or rather UTF-8 is used on input.
Bytes-marked strings are treated as 8-bit strings.
The SUBSTITUTE CHARACTER (\x1a == \032
) may be
interpreted as ASCII missing value for single characters.
Returns a character vector.
Other encoding_conversion: stri_conv
,
stri_encode
;
stri_enc_fromutf32
;
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.