Yelp / osxcollector_output_filters

Filters that process and transform the output of osxcollector
https://github.com/Yelp/osxcollector
Other
78 stars 11 forks source link

Avoiding UnicodeDecodeError by coercing the value strings to unicode #32

Closed jjsendor closed 8 years ago

jjsendor commented 8 years ago

Closes #30.

jjsendor commented 8 years ago

I have added unicode() invocation. It also required TypeError handling as it was thrown sometimes. I guess due to unicode strings being passed there: decoding Unicode is not supported.

jjsendor commented 8 years ago

Actually it seems that checking for the unicode type should be enough to prevent TypeError.

Qmando commented 8 years ago

LG2M