batch_encode_convert: convert encode converter

Description Usage Arguments Value Author(s)

View source: R/batch_encode_convert.R

Description

convert files in a directory from one encode to another. You can use 'rvest::guess_encoding(file)' to guess the initial encoding.

Usage

1
2
batch_encode_convert(dir, pattern, incode = "GB18030", outcode = "UTF-8",
  recursive = TRUE)

Arguments

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>

Value

converted encoding files

Author(s)

lgm


Gabegit/gmdata documentation built on May 6, 2019, 5:32 p.m.