Why Are There Garbled Characters in Event Data I Exported from WAF?
On the Events page in the WAF console, you can click Export to export event data. If you open the exported file with Excel, there will be garbled characters.
Causes
The exported event data is in CSV format. If you use Excel to open the file, there will be garbled characters. This happens when the exported CSV file is encoded in UTF-8, as Excel opens file in ANSI format.
Solutions
Method 1
- Open the CSV file with Excel in the following manner:
- Create an Excel file.
- Choose Data > Get External Data From Text.
- Select the exported CSV file and click Import. The Text Import Wizard dialog box is displayed.
- Select Delimited and click Next.
- Deselect Tab, select Comma, and click Next.
- Click OK.
- In the Import Data dialog box, click OK.
- Use a text editor such as Notepad or use WPS to open the CSV file.
Method 2
- Use the Notepad text editor to open the exported CSV file.
- Choose .
- Select ANSI for Encoding, change the file name but keep the extension .csv unchanged to avoid overwriting the original file, and click Save.
Use Excel to open the new CSV file. Generally, characters can be displayed normally.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot