andygrundman/thrift-xs — pull request #2 by mkjellman (2012-06-06 00:44:40+00:00)
Title: do not try to decode read string as utf8

I found this bug while unpacking certain encoded epoch timestamps. Specifically, it looks like this effects those from 4CEABE80 - 4CEABEBF (for example 1290452609). I'm not exactly sure if where you set the bool for if this particular string is utf8. This check does fix the munging of the packed structure data though -- my tests still complete for utf8 encoded data so i don't think this breaks unpacking that data either.