Flowdock
method

encode_filename

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: ActionDispatch::Http::UploadedFile
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.