Index: src/wp-includes/class-http.php
===================================================================
--- src/wp-includes/class-http.php	(revision 25025)
+++ src/wp-includes/class-http.php	(working copy)
@@ -1373,6 +1373,11 @@
 	 * @return int
 	 */
 	private function stream_body( $handle, $data ) {
+		if ( ( ini_get( 'mbstring.func_overload' ) & 2 ) && function_exists( 'mbstring.func_overload' ) ) {
+			$mb_encoding = mb_internal_encoding();
+			mb_internal_encoding( 'ISO-8859-1' );
+		}
+
 		if ( $this->max_body_length && ( strlen( $this->body ) + strlen( $data ) ) > $this->max_body_length )
 			$data = substr( $data, 0, ( $this->max_body_length - strlen( $this->body ) ) );
 
@@ -1381,7 +1386,12 @@
 		else
 			$this->body .= $data;
 
-		return strlen( $data );
+		$data_length = strlen( $data );
+
+		if ( isset( $mb_encoding ) )
+			mb_internal_encoding( $mb_encoding );
+
+		return $data_length;
 	}
 
 	/**
