googlefonts / gf-glyphs-scripts

Scripts for Glyphs
21 stars 11 forks source link

Replace StringIO with BytesIO #42

Closed m4rc1e closed 5 years ago

m4rc1e commented 5 years ago

https://github.com/googlefonts/gf-glyphs-scripts/commit/681da884830cb3229752d3135dbeb2e1352989ff#r31192896

BytesIO is for bytes (binary data like in this case), StringIO is for unicode text strings. You should use the former