Force binary encoding on all objects
commitcdc5fc07a34bd17f2162dcb171928f49af55ead7
authorEric Wong <normalperson@yhbt.net>
Sun, 8 Feb 2009 01:22:19 +0000 (7 17:22 -0800)
committerEric Wong <normalperson@yhbt.net>
Sun, 8 Feb 2009 01:22:19 +0000 (7 17:22 -0800)
tree1447af491b2e28f21a631c202cf6507c6a5df64d
parentffc4ec4baaae5020c98dc545c6c6ade0336a3311
Force binary encoding on all objects

File and StringIO objects need to be opened in binary mode,
otherwise they take the default encoding format.  Thankfully,
Sockets and Tempfile objects seem to be binary by default as of
1.9.1; but it really is a mess to have to deal with FS
abstractions that try to deal with encoding crap behind your
back...
History.txt
README.txt
bin/mog
lib/mogilefs/httpfile.rb
lib/mogilefs/mogilefs.rb