rightscale/right_http_connection — pull request #10 by kristianm (2012-03-09 09:13:40+00:00)
Title: Set correct content-length for possible multibyte strings

Found out that this gem was the culprit when sending standard ruby http requests with multibyte chars in ruby 1.9. (I didn't use your gem directly but it was included as a dependency from another gem, rest-client, which overwrote the standard request method).
The content-length http header was set to number of chars, not number of bytes.