From: raspberry lemon Date: 2008-09-14T02:39:54+09:00 Subject: [ruby-core:18571] [Bug #559] WEBrick should use #bytesize instead of #size Bug #559: WEBrick should use #bytesize instead of #size http://redmine.ruby-lang.org/issues/show/559 Author: raspberry lemon Status: Open, Priority: Normal Category: lib Currently, WEBrick uses #size to figure out the content-length headers, which messes up responses with multibyte characters. The attached patch stupidly replaces all instances of '.size' with '.bytesize'. It fixes the problem and doesn't appear to cause any problems. ---------------------------------------- http://redmine.ruby-lang.org