-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add BOM to help excel to detect the file is UTF-8 encoded. #65
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BOM isn't here to ensure proper encoding.
It's here to help excel, in some versions, to detect the file is UTF-8 encoded.
Please change the name of this PR en squash & commit message accordingly
@@ -190,8 +192,10 @@ public byte[] exportSensitivityResultsAsCsv(UUID resultUuid, SensitivityAnalysis | |||
ZipOutputStream zipOutputStream = new ZipOutputStream(outputStream)) { | |||
zipOutputStream.putNextEntry(new ZipEntry("sensitivity_result.csv")); | |||
|
|||
// We add a BOM to indicate that the file is encoded in UTF-8. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please copy the same comment than for SA :
// We add a BOM to indicate that the file is encoded in UTF-8. | |
// // adding BOM to the beginning of file to help excel in some versions to detect this is UTF-8 encoding bytes |
Quality Gate passedIssues Measures |
Like gridsuite/security-analysis-server#111