Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

xml encoding using web service component

Avatar

Level 6

Hello,

Im getting a utf-8 encoding xml from the web service component.

Is there an easy why to convert this output to iso?

thank you

0 Replies

Avatar

Level 10

Easy might depend upon your Java skills. You could use a Custom Script to transform the XML to an ISO encoding. There are a variety of techniques including java.io.OutputStreamWriter API and the Apache Commons libraries (org.apache.commons.io.output.FileWriterWithEncoding).

Steve