Hasso-Plattner-Institut
Prof. Dr. Felix Naumann
  
 

Preparator API

changeFileEncoding(file, encoding)

Description

Change the encoding of the specific file into another.

Parameters

NameRequiredDescriptionDefaultValueExample
filePathrequiredThe file to change the encoding ../customer.csv
encodingrequiredThe target encoding ASCII

Example Preparator

changeFileEncoding("E:\\Data\testdata\DimCustomer.csv", UTF-8)