diff --git a/lib/webrick/httpservlet/filehandler.rb b/lib/webrick/httpservlet/filehandler.rb index f41a5b07cf..f67d416b72 100644 --- a/lib/webrick/httpservlet/filehandler.rb +++ b/lib/webrick/httpservlet/filehandler.rb @@ -36,7 +36,7 @@ module WEBrick def initialize(server, local_path) super(server, local_path) - @local_path = local_path.dup.force_encoding("UTF-8") + @local_path = local_path end # :stopdoc: