Reporting logs in .csv format contain incorrect characters in many fields
book
Article ID: 378975
calendar_today
Updated On:
Products
Cloud Secure Web Gateway - Cloud SWG
Issue/Introduction
Cloud SWG reporting logs when are downloaded in .csv format show random characters (or question marks) in many fields. There are present in some headers and fields.
It can be seen like this:
or like this:
Cause
The issue is related to the non-latin characters present in the logs (for example Chinese letters). When the logs are downloaded in .xml or .pdf format, those characters are visible normally.
Resolution
The issue is related to MS excel that needs to open the CSV file using Data import instead of opening the CSV file directly.
Open Excel then go to Data Menu.
Under Get External Data, click From Text.
Select the CSV file that you want to open.
Set the character encoding File Origin to 65001: Unicode (UTF-8) from the drop-down list.