Changeset 821

Show
Ignore:
Timestamp:
11/02/07 22:25:43 (1 year ago)
Author:
e.@brainspl.at
Message:

use utf8 content type for html by default, closes #228

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/merb/controller.rb

    r798 r821  
    4343      end 
    4444       
    45       def build(request, response = StringIO.new, status=200, headers={'Content-Type' => 'text/html'}) 
     45      def build(request, response = StringIO.new, status=200, headers={'Content-Type' => 'text/html; charset=utf-8'}) 
    4646        cont = new 
    4747        cont.set_dispatch_variables(request, response, status, headers)