What must be done to ensure the safe and correct download of files with different character encodings?

  • Encode files as ASCII
  • Set the character encoding in the response header
  • Use a fixed character encoding
  • Use the default character encoding
To ensure the safe and correct download of files with different character encodings, set the character encoding in the response header using response.setCharacterEncoding().
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *