How to set the encoding for the files downloaded by Talend when using tHttpRequest or tFileFetch components?


When building Talend components using Java, how can I define the file encoding from Studio?



Follow these steps to add the JVM Option -Dfile.encoding=UTF8:

  1. Open the Job from Studio that includes the tHttpRequest or tFileFetch components.

  2. On the Run tab, select Advanced Settings.
  3. Select Use specific JVM arguments and add the JVM option -Dfile.encoding=UTF8 to set the encoding to the UTF-8 character set.

Version history
Revision #:
8 of 8
Last update:
‎04-13-2019 12:48 PM
Updated by: