Do not set charset of file upload to UTF-32LE or UTF-16
GENERAL
TESTING
GENERAL
TESTING
Description
This is a regression related to KNL-589.
To replicate on 2.8.0rc01:
1) Create local file on your desktop called asdf.txt with content of "asdf" 2) Go to course site in Sakai 3) Upload file to Resources 4) Download file
In Firefox, the file will be displayed with bad characters because the file is served as UTF-32LE. The code should be modified to use UTF-8 if the detecting chooses UTF-32LE or UTF-16.
This is a regression related to KNL-589.
To replicate on 2.8.0rc01:
1) Create local file on your desktop called asdf.txt with content of "asdf"
2) Go to course site in Sakai
3) Upload file to Resources
4) Download file
In Firefox, the file will be displayed with bad characters because the file is served as UTF-32LE. The code should be modified to use UTF-8 if the detecting chooses UTF-32LE or UTF-16.