railslove / fontello_rails_converter

CLI gem for comfortably working with icon fonts (open, download, convert) from http://fontello.com for usage in Rails apps.
MIT License
73 stars 35 forks source link

fixed utf-8 issue #11

Closed hqm42 closed 10 years ago

hqm42 commented 10 years ago

I got an exception running 'fontello convert':

gems/fontello_rails_converter-0.2.0/lib/fontello_rails_converter/cli.rb:76:in `gsub!': invalid byte sequence in UTF-8 (ArgumentError)

found this fix on: http://robots.thoughtbot.com/fight-back-utf-8-invalid-byte-sequences/

jhilden commented 10 years ago

I wonder if there is a way to reproduce this bug in a test case?