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]