lib_webrick_httpresponse.rb.diff   [plain text]


--- lib/webrick/httpresponse.rb.old	2010-03-31 18:47:40.000000000 -0700
+++ lib/webrick/httpresponse.rb	2010-03-31 18:48:21.000000000 -0700
@@ -209,7 +209,7 @@
         @keep_alive = false
         self.status = HTTPStatus::RC_INTERNAL_SERVER_ERROR
       end
-      @header['content-type'] = "text/html"
+      @header['content-type'] = "text/html; charset=utf-8"
 
       if respond_to?(:create_error_page)
         create_error_page()