OpenNTF.org - DominoRSS

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: DominoRSS (Managed by Peter Narlund)
Actions:


Response
SubjectDo You know how to code it?
Created 10/03/2006 08:20 AM by Peter Narlund.
Modified<none> by <none>.
Body

I have made the change for the File serializer like this:

PrintWriter out = new PrintWriter(new BufferedWriter(new java.io.OutputStreamWriter(new java.io.FileOutputStream(filepath), getContentEncoding())));

out.print(xml);
out.flush();
out.close();

But I don't know how to specify the encoding for The HttpResponse. Its coded like this:

PrintWriter out = res.getWriter();
out.println(item.getXml());
out.flush();
out.close();

Do you know how to change it to implement encoding?

Peter Närlund
http://dominopatrol.net