Receiving German characters from one of the attribute from API response and while joining the response with another API, we are facing issues because of the non-english characters.
Can anyone suggest how we can handle this in pipeline?
By using postman , posted a message with german character (Ö) into HTTP API and when i retrieved data from HTTP URL with character set (UTF-8) , it gave me the correct result .
// Write a record to the processor output sdc.output.write(record) } catch (e) { // Write a record to the error pipeline sdc.log.error(e.toString(), e) sdc.error.write(record, e.toString()) } }
#jobLocationIdentifier----field having German Char
can you please try it jython processors. I verified it and code was not throwing any error but for the conversion of German characters i need to dig into it to handle the issue.
Receiving German characters from one of the attribute from API response and while joining the response with another API, we are facing issues because of the non-english characters.
Can anyone suggest how we can handle this in pipeline?
By using postman , posted a message with german character (Ö) into HTTP API and when i retrieved data from HTTP URL with character set (UTF-8) , it gave me the correct result .
No issues in german characters .
@Bikram In postman i am able to retrieve the data. when I am passing German char as an input parameter.
I am facing this issue only with stream sets while joining.
So included groovy evaluator before joining with API. But the Code is throwing errors. Can you look into this?
import java.util.* records = sdc.records for (record in records) { try {
// Write a record to the processor output sdc.output.write(record) } catch (e) { // Write a record to the error pipeline sdc.log.error(e.toString(), e) sdc.error.write(record, e.toString()) } }
#jobLocationIdentifier----field having German Char
can you please try it jython processors. I verified it and code was not throwing any error but for the conversion of German characters i need to dig into it to handle the issue.
Attached the output and pipeline for your reference.