Closed casertap closed 9 years ago
This does not appear to be a bug in Rumoji:
comment = "oh no!!😢"
Rumoji.encode(comment)
#=> "oh no!!:cry:"
Rumoji.decode(Rumoji.encode(comment))
#=> "oh no!!😢"
Rumoji::Emoji.find(:cry).hex
#=>"1F622"
Would seem to me that emojify
might be the culprit here
In my db I have the sad emoji
But using this code:
I get this emoji displayed
Usually it work but not for the decoding of this smiley (Have been using the plugin for 2 weeks so I may find other wrong smiley in the future)
Here is the information I could get about the smiley in db: