diff options
Diffstat (limited to 'sca-java-1.x')
2 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/java/feed/AggregatorImpl.java b/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/java/feed/AggregatorImpl.java index d4adf03851..855054003d 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/java/feed/AggregatorImpl.java +++ b/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator-webapp/src/main/java/feed/AggregatorImpl.java @@ -166,7 +166,7 @@ public class AggregatorImpl implements org.apache.tuscany.sca.binding.atom.colle syndFeed.setFeedType("atom_1.0"); SyndFeedOutput syndOutput = new SyndFeedOutput(); try { - syndOutput.output(syndFeed, new OutputStreamWriter(bos)); + syndOutput.output(syndFeed, new OutputStreamWriter(bos, "UTF-8")); } catch (Exception e) { throw new RuntimeException(e); } diff --git a/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator/src/main/java/feed/AggregatorImpl.java b/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator/src/main/java/feed/AggregatorImpl.java index 7b2edb2e6a..506701168e 100644 --- a/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator/src/main/java/feed/AggregatorImpl.java +++ b/sca-java-1.x/branches/sca-java-1.6.1/samples/feed-aggregator/src/main/java/feed/AggregatorImpl.java @@ -187,7 +187,7 @@ public class AggregatorImpl implements org.apache.tuscany.sca.binding.atom.colle syndFeed.setFeedType("atom_1.0"); SyndFeedOutput syndOutput = new SyndFeedOutput(); try { - syndOutput.output(syndFeed, new OutputStreamWriter(bos)); + syndOutput.output(syndFeed, new OutputStreamWriter(bos, "UTF-8")); } catch (Exception e) { throw new RuntimeException(e); } |