[squeak-dev] base64 encoding and CRs

tim Rowledge tim at rowledge.org
Sat Aug 22 01:00:15 UTC 2020


As best I can see base64 encoding never results in the output having Character cr embedded, right? 

Why would I ask such a dumb question? Because I'm looking at some code that carefully does a copyReplaceAll: on a base64 encoded String that was a bitmap, and I can't imagine how that could ever not corrupt the bitmap *if* there were any chance it did indeed include CRs.

And it's late on a Friday and to be honest, anything could be possible in 2020.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- His spirit guide is a three-toed sloth.




More information about the Squeak-dev mailing list