class Rails::Application::Configuration

def encoding=(value)

def encoding=(value)
  @encoding = value
  if "ruby".encoding_aware?
    Encoding.default_external = value
    Encoding.default_internal = value
  else
    $KCODE = value
    if $KCODE == "NONE"
      raise "The value you specified for config.encoding is " \
            "invalid. The possible values are UTF8, SJIS, or EUC"
    end
  end
end