Rails 1.2.2 - sqlite3 upload problem, binary data will be co


I am using Rails 1.2.2 with sqlite3-ruby 1.2.1. I can upload files -
and save them in sqlite3. Afterwards - on read - the binary files
(like photos) have corrupted data. If I use a encode64 and decode64 on
save/load everything is working fine. Is there a problem with the
sqlite3 data adapter?

Oliver P.