Base64 1.9... am I missing something here?

Surely this must work?

data =‘test.png’)
data == [data].pack(‘m’).unpack(‘m’).first
#=> false


Shouldn’t that be true?

You can find test.png at:

… but I don’t think it is the problem.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs