Flowdock
method

encode_filename

Importance_0
Ruby on Rails latest stable (v4.2.1) - 0 notes - Class: ActionDispatch::Http::UploadedFile

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

encode_filename(filename) private

No documentation

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

Hide source
# File actionpack/lib/action_dispatch/http/upload.rb, line 71
      def encode_filename(filename)
        # Encode the filename in the utf8 encoding, unless it is nil
        filename.force_encoding(Encoding::UTF_8).encode! if filename
      end
Register or log in to add new notes.