# NOT RUN {
stri_numbytes(letters)
stri_numbytes(c('abc', '123', '\u0105\u0104'))
# }
# NOT RUN {
# this used to fail on Windows, as there was no native support for 4-bytes
# Unicode characters; see, however, stri_escape_unicode():
stri_numbytes('\U7fffffff') # compare stri_length('\U7fffffff')
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab