[go-nuts] Re: Short destination error with unicode.Transform

2023-01-12 Thread Joe Schafer
Update after seeing the error again. I inlined everything, creating the transformer on every invocation, to avoid any races, but the error persists. https://gist.github.com/jschaf/bd600ce71ad3798af6c160d74904ac9c I'm unable to reproduce the error locally. My current plan is to attempt to worka

[go-nuts] Short destination error with unicode.Transform

2022-07-29 Thread Joe Schafer
I had a curious bug appear in my server logs when using a unicode Transformer: transform unicode "wind-Pa\x00\x00\x00" to ascii: transform: short destination buffer Here's the simplified code that caused the error (Gist and