fix encoding bug while reading from non std connections
Merge pull request #2 from paulsponagl/rails32

fix encoding bug while reading from non std connections