I want to achieve something like:
stri_trans_general('Man\u00e9', 'latin-ascii') --> "Mané"
but after the contents are read from a file.
An example is as below:
x = read.table("file.txt")
where the file contains this: Man\u00e9
But on stri_trans_general(x, 'latin-ascii'), I achieve this: "Man\u00e9"
I want to achieve something like: stri_trans_general('Man\u00e9', 'latin-ascii') --> "Mané" but after the contents are read from a file.
An example is as below: x = read.table("file.txt") where the file contains this: Man\u00e9 But on stri_trans_general(x, 'latin-ascii'), I achieve this: "Man\u00e9"