Base64 1.9... am I missing something here?

Surely this must work?

data = File.read(‘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.