Pick Out Non-ASCII Characters
This function prints elements of a character vector which contain non-ASCII bytes, printing such bytes as a escape like <fc>.
1 2 3
a character vector.
path to a file.
This was originally written to help detect non-portable text in files in packages.
It prints all element of
x which contain non-ASCII characters,
preceded by the element number and with non-ASCII bytes highlighted
iconv(sub = "byte").
The elements of
x containing non-ASCII characters will be returned
1 2 3 4 5 6 7 8 9 10 11 12
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.