Parse Data Flow -> External Call response using UTF-8 encoding?

AshTT-7826 6 Reputation points
2022-04-13T10:04:12.143+00:00

Hey all,

Having a little trouble getting ADF to correctly parse a UTF-8 XML response from an external call activity within a data flow. The API XML response doesn't have an encoding tag (limitation of the service we're using). Is there any way to force the encoding of the response in the activity.. have I missed a trick here?

Example data:

Directorâ s

Thanks, Ash.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshTT-7826 6 Reputation points
    2022-04-19T21:49:03.703+00:00

    Managed to find a workable solution, adjusting the Content-Type of my APIs response to contain the correct charset (e.g. Content-Type: text/xml; charset=utf-8) appears to work as expected and is parsed correctly by Data Factory. Thanks, Ash.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.