
27 Dec
2010
27 Dec
'10
7:40 a.m.
[Please reply to the list as well :-)]
2010/12/27 いとうかつとし
Umm, This(B.concate . L.toChunks) don't work. an inserted data is incomplete, which is dropped from invisible characters. In my case , the image file with binary data as "GIF89a^\NUL\NUL\213\&3\NUL...", only "GIF89a^"(7bytes) can be stored. I think I have to escape a binary data. If ByteString field type means binary, I expect the yesod framework to escape automatically. How about?
That's strange and sounds like a bug. I'm using the same (B.concat . L.toChunks) trick and it works very well for me. Are you using up-to-date versions of all libraries? Cheers! -- Felipe.