method

charset=

charset=(charset)
public

Sets the HTTP character set. In case of `nil` parameter it sets the charset to `default_charset`.

response.charset = 'utf-16' # => 'utf-16'
response.charset = nil      # => 'utf-8'