OpenNTF.org - DominoRSS
Home
Download
Projects
IdeaJam
Forums
About
Get Involved
My Links (Not logged in)
User Name
Password
Register
Forgot Password
Project: DominoRSS (Managed by Peter Narlund)
Actions:
 
About
Releases
Screenshots
Requests
Bugs
News
Discuss
Docs
Testimonials
All
Response
Subject
Do 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
Feedback
WIll I have to recompile java proje... (Anton V Mikhilo... on 10/03/2006 06:37:04 AM )
. . Should be a setting on the ser... (Peter Narlund on 10/03/2006 07:14:53 AM )
. . Do You know how to code it? (Peter Narlund on 10/03/2006 08:20:03 AM )
. . . . Encoding for The HttpResponse ... (Anton V Mikhilo... on 10/04/2006 06:11:36 AM )
Check out other projects