#1031 StrBufOutStream does not delegate correctly

brian Sat 20 Mar 2010

Using a OutStream subclass to wrap StrBufOutStream does not delegate Unicode char writes correctly since delegation routes thru the charset encoder.

Workaround is to use Buf.

brian Sat 20 Mar 2010

Promoted to ticket #1031 and assigned to brian

brian Wed 12 May 2010

Ticket resolved in 1.0.53

Fixed delegation model to handle StrBuf as sort of a special case optimized to deal with chars.

jessevdam Tue 30 Aug 2011

In JsonOutStream there is still this TODO

buf := Buf()  // TODO: switch to StrBuf once #1031 is fixed  

If you change that can you also at the @Js tag to this class, I would like to use it in js as well

brian Tue 30 Aug 2011

pushed a fix

Login or Signup to reply.