Enforce UTF-8 encoding for vulnerability exports
requested to merge 440163-group-vulnerability-report-csv-export-fails-to-respond-for-very-large-groups into master
What does this MR do and why?
Ensure that the output of the CSV generation is forced to be treated as UTF-8. When saved, for a currently undetermined reason it is saved as ASCII-8BIT. This breaks when attempting to finalise the export, as group and project names can contain wide chars which get included in the file and are not part of the standard ASCII table.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
See !152517 (merged)
Related to #440163