Fixing UndefinedConversionError
Merge pull request #34 from g3d/encoding-error

Fixing UndefinedConversionError