Hasso-Plattner-Institut
Prof. Dr. Felix Naumann
  
 

Preparator API

changeFileEncoding(file, encoding)

Description

Change the encoding of the specific file into another.

Parameters

Name Required Description DefaultValue Example
filePath required The file to change the encoding   ../customer.csv
encoding required The target encoding   ASCII

Example Preparator

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