Description Usage Arguments Value Author(s)
checkUTF8
check whether a given raw vector can be used as a
valid string encoded in UTF8.
1 |
what |
raw vector with the payload |
quiet |
logical, if |
charlen |
logical, if |
min.char |
integer, any bytes below this value are considered control chacters and reported as errors. The default value of 1L guards against strings including NULs. |
If charlen=FALSE
: TRUE
on success, FALSE
if the
payload is invalid and quite=TRUE
.
If charlen=TRUE
: positive integer corresponding to the
longest encoded sequence on success, negative integer on failure.
Simon Urbanek
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.