Flowdock
method

encoding=

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: Rails::Application::Configuration
encoding=(value) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/application/configuration.rb, line 67
      def encoding=(value)
        @encoding = value
        if "ruby".encoding_aware?
          silence_warnings do
            Encoding.default_external = value
            Encoding.default_internal = value
          end
        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
Register or log in to add new notes.