Re: [Wicket-develop] response length and charset

2006-09-12 Thread jan_bar
Thanks for your time, Jan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v

Re: [Wicket-develop] response length and charset

2006-09-12 Thread Johan Compagner
i will look at it this week.On 9/12/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: i think there is already a bug reported against it that suggests doing resource.tostring().getbytes().length which should fix this. is someone going to look into this? this isnt exactly my forte -Igor On 9/12/06, jan_b

Re: [Wicket-develop] response length and charset

2006-09-12 Thread Igor Vaynberg
i think there is already a bug reported against it that suggests doing resource.tostring().getbytes().length which should fix this. is someone going to look into this? this isnt exactly my forte-Igor On 9/12/06, jan_bar <[EMAIL PROTECTED]> wrote: Hi,(wicket 1.2.2) If I setPackagedTextTemplate.setCh

[Wicket-develop] response length and charset

2006-09-12 Thread jan_bar
Hi, (wicket 1.2.2) If I set PackagedTextTemplate.setCharset(Charset.forName("utf-8")) the response length is bad, because the undelying IResourceStream returns length in 'char' unit (StringBuffer.length()), but the AbstractStringResourceStream.getInputStream() returns the buffer converted to bytes