Re: About OSCache Encoding.
Chris Miller <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <[email protected]> |
There's a nasty looking line of code in the CacheHttpServletResponseWrapper.getWriter() method: cachedWriter = new PrintWriter(getOutputStream()); This causes the PrintWriter to use the default character encoding, which I suspect is at least part of the problem... I won't get time to tackle this for at least a week, so if someone else wants to have a go at it in the meantime please feel free :-) Patrick Lightbody wrote: > I believe Jun is using the Filter cache. > > Jun, what is the encoding you expect and what is the encoding you are > getting? Also, can you give more detail about the different parts (what > the JSPs and VMs look like, what cache setup you have)? > > -Pat > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > jun cai > Sent: Wednesday, November 26, 2003 6:23 PM > To: os cache > Subject: [Opensymphony-oscache] About OSCache Encoding. > > My problem is that the page encoding is wrong when > I use OSCache and velocity in my web application ,but > when I use OSCache and jsp in my web application in my > web application ,all works well. > > thanks. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/