Ticket #1031
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.
Promoted to ticket #1031 and assigned to brian
Ticket resolved in 1.0.53
Fixed delegation model to handle StrBuf as sort of a special case optimized to deal with chars.
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
pushed a fix
Login or Signup to reply.
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
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