iconvFile: convert file encoding

Description Usage Arguments Details Value Examples

View source: R/io.R

Description

convert a file from one encoding to another

Usage

1
2
iconvFile(from_file, to_file, from_encoding = "windows-1250",
  to_encoding = "UTF-8")

Arguments

from_file

source file path

to_file

destination file path

from_encoding

source endoding, Default: 'windows-1250'

to_encoding

target encoding, Default: 'UTF-8'

Details

convert a file from one encoding to another

Value

TRUE if succesfull

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

vh-d/VHtools documentation built on May 3, 2019, 6:11 p.m.