R: How to implement setCharacterEncoding in Tomcat 4.1.x

2004-06-12 Thread Simone - Dev
- Da: news [mailto:[EMAIL PROTECTED] Per conto di Bill Barker Inviato: sabato 12 giugno 2004 7.19 A: [EMAIL PROTECTED] Oggetto: Re: How to implement setCharacterEncoding in Tomcat 4.1.x You can use: response.setContentType(text/xml; charset=utf-8); This works for TC 3-5. Simone

How to implement setCharacterEncoding in Tomcat 4.1.x

2004-06-11 Thread Simone - Dev
Hello all, I made a servlet that generates a XML response that must be in UTF-8 because it can include any type of chars (Jap, Arabs, chinese, russian and so on) I developed it on Tomcat 5.0.x and I used, to set the correct encoding, the method setCharacterEncoding before calling the out.getWriter

Re: How to implement setCharacterEncoding in Tomcat 4.1.x

2004-06-11 Thread Bill Barker
You can use: response.setContentType(text/xml; charset=utf-8); This works for TC 3-5. Simone - Dev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello all, I made a servlet that generates a XML response that must be in UTF-8 because it can include any type of chars (Jap, Arabs,