tmm1 / emoji-extractor

extracts high-resolution emoji pngs from /System/Library/Fonts/Apple Color Emoji.ttf
558 stars 88 forks source link

Doesn't work on Ruby 2.1 #4

Closed gjtorikian closed 2 years ago

gjtorikian commented 10 years ago
emoji_extractor.rb:52: invalid multibyte escape: /\211PNG/

Using rbenv to switch to 1.8.7 was simple enough, though.

ragnraok commented 10 years ago

I got the same problem

tomasznguyen commented 9 years ago

I ran into the same problem.

Add the following code as first line in the rb-file:

# encoding: US-ASCII

That should do the trick.