Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Issue with special character in tFileOutputDelimeted component

Hi, 

 

I am extracting a query result to tFileOutputDelimeted component(.csv file).

 

String has to be "can't" but, it is saving in .csv file as "can?t". Why am I getting this?

 

Can anyone help me out?

Thanks in advance,

Meghana.

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

The issue has been solved. Changed encoding to UTF-16 and it is working. Thanks for the reply.

 

Thanks,

Meghana.

View solution in original post

6 Replies
ankit7359
Creator II
Creator II

Hi @MeghanaKottala,

Can you pls share a sample input data and also can you also share the job screenshot with result such that Community can look into the issue you are facing?

Pls do get back to Community,if necessary.

Thanks,

Ankit.

Anonymous
Not applicable
Author

Here is the screenshot.

 

The query results in one string column which has result like this "youíve" and when I run this job, I am getting the result as "you?ve".

 

Am I clear


Screen Shot 2019-01-09 at 4.02.20 PM.png
akumar2301
Specialist II
Specialist II

Try to change the encoding to ISO-8859-15
Anonymous
Not applicable
Author

I am using the same

 

Thanks,

Meghana

PhilHibbs
Creator II
Creator II

When you say it is "saving as can?t", what do you mean? Is it literally a question mark in the output file, or is the reading method converting a character that it doesn't understand into a question mark? How are you viewing the output?

 

I suspect that your input isn't "can't", I bet it is "can’t" (which has a typographical apostrophe, rather than the plain ASCII apostrophe). ISO8859-15 does not have typographical or “directional” quotes, so it can't be written using that encoding.

 

Using a larger font, ' is ASCII, but  is not, and is not supported by ISO8859 character sets.

https://practicaltypography.com/straight-and-curly-quotes.html

Anonymous
Not applicable
Author

The issue has been solved. Changed encoding to UTF-16 and it is working. Thanks for the reply.

 

Thanks,

Meghana.