Description Usage Arguments Value Author(s)
View source: R/batch_encode_convert.R
convert files in a directory from one encode to another. You can use 'rvest::guess_encoding(file)' to guess the initial encoding.
1 2 | batch_encode_convert(dir, pattern, incode = "GB18030", outcode = "UTF-8",
recursive = TRUE)
|
dir |
a directory path |
pattern |
the file extension that need to convert |
incode |
original encode |
outcode |
new encode |
recursive |
<e6><98><af><e5><90><a6><e9><81><8d><e5><8e><86><e6><89><80><e6><9c><89><e5><ad><90><e6><96><87><e4><bb><b6><e5><a4><b9> |
converted encoding files
lgm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.