You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition, for the last emoji, compress returns different values (jwbjb9o= from javascript, m3PQ from ruby). Seems like the ruby version expects latin1 on input, fails miserably on characters outside of it, and returns a string with wrong encoding (Binary instead of ISO8859_1)
The text was updated successfully, but these errors were encountered:
The javascript version (1.5.0 from npm) handles unicode characters in the input string:
Doing the same in the ruby version (0.2.0) fails:
In addition, for the last emoji, compress returns different values (
jwbjb9o=
from javascript,m3PQ
from ruby). Seems like the ruby version expects latin1 on input, fails miserably on characters outside of it, and returns a string with wrong encoding (Binary instead of ISO8859_1)The text was updated successfully, but these errors were encountered: