-
Improvement
-
Resolution: Deferred
-
Minor
-
None
-
4.0.5
-
None
-
Browser: Safari only
-
MOODLE_400_STABLE
This is a fix for the problem that the file name is garbled when downloading a file with a file name containing Japanese characters.
When a student uploads a file with a Japanese filename, the characters are garbled when the teacher downloads it.
I uploaded the modified source to GitHub.
https://github.com/kodamayamazaki/moodle/commit/ed5e948a9da12e149a923ea15383dd8ab6504b29
How to confirm lib/csvlib.class.php
- Added "Database" activity in the course. Use Japanese for activity names.
- Open the added Database activity and add an appropriate field from "Create a new field".
- Click the "Database" tab to display the list view screen.
- Click the "Add Entry" button, enter appropriate values on the "New Entry" screen, and click the "Save" button.
- As the screen changes, click the "Export entries" button to download the file.
- Leave the Export format as CSV and click the Export entries button.
How to confirm lib/excellib.class.php
- Added "Feedback" activity in courses. Use Japanese for activity names.
- Add a question from "Edit questions".
- Answer from "Answer the questions".
- Go back to the top of the feedback and click the "Analysis" tab to display the analysis screen.
- Click the "Export to Excel" button.
How to confirm lib/filelib.php
- Enter a course with a Japanese name and click the "Grades" tab.
- Select "Export" from the report selection.
- Change the file type to "XML file".
- Click the "Download" button.
- Added "Assignment" activity in courses. Select "File submissions" for Submission types and create an Assignment.
- Click the Add submission button to upload a file with a Japanese filename.
- A list of uploaded files will be displayed on the screen, so click on the file to download the file.
Any Japanese can be used for this confirmation.
For Example : "あいうえお.pdf"
- has been marked as being related by
-
MDL-76273 No filename for custom report's PDF download for multibyte char name.
-
- Closed
-