Yeah, I would like to have this fixed as well.

-Filip

On 2008-04-16 10:19, Foror wrote:
Bug in 5.1 category. Please fix it in 5.0.x release. It simple:

class TextStreamResponse ...

      + private String _charset; // charset get from 
_contentType(";charset=UTF-8")
                                 // or get from tapestry.response-encoding

public InputStream getStream() throws IOException {
       - return new ByteArrayInputStream(_text.getBytes());
       + return new ByteArrayInputStream(_text.getBytes(_charset));
}


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to