Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Swiip
Contributor
Contributor

To generate ANSI file with Talend

Hi

When i generate a file with

tFileOutputDelimited component,

the encoding is UTF8.

But i want to generate ANSI files.

In Advanced parameters of the tFileOutputDelimited i choose Encoding : ISO-8859-15

I tried also to change the Advanced parameter of the job and put the specific JVM arg : -Dfile.encoding=ISO-8859-15

I also tried in the Talend menu "Window" - "Preferences" - "Exec/Debug" and i put also -Dfile.encoding=ISO-8859-15

But i have in result UTF8 encoding. To check this i open the file with notepad and when i do "Save as" i can see the encoding of the file.

Thanks for your help.

Labels (3)
3 Replies
Anonymous
Not applicable

Hello,

Could you please clarify in which Talend version/edition you are?

Best regards

Sabrina

 

Swiip
Contributor
Contributor
Author

Hello

 

Talend Open Studio 7.3.1.20200219_1130

Thanks

gjeremy1617088143

Hi maybe you can use :

System.setProperty( "file.encoding", "ISO-8859-1" );

in a tjava at the begining of the job.

Send me Love and Kudos