RockteMQ-AI commented on issue #4744:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/4744#issuecomment-5760928553

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The reported issue has been verified against the current codebase.
   
   **Root Cause:** `downloadCsv` in `web/src/utils/download.ts` creates a Blob 
with `text/csv;charset=utf-8` but does not prepend the UTF-8 BOM (`\uFEFF`). 
Excel and other encoding-sniffing applications fall back to ANSI/GBK when no 
BOM is present, causing all non-ASCII cells (Chinese topic names, alert labels, 
etc.) to render as mojibake.
   
   **Impact:** All CSV exports (topic, consumer group, DLQ, client connections, 
metrics, topic-comparison, user exports) produce unreadable files in Excel when 
the UI contains non-ASCII text.
   
   **Severity:** Medium — data is not lost, but exports are unusable for 
non-English users without manual re-encoding.
   
   **Note:** The server-side exporters (`AuditService`, 
`CloudCredentialService`) already handle this correctly with `\uFEFF` prefix. 
The fix is a one-line addition to the frontend `downloadCsv` function.
   
   PR #4743 from the author addresses this. Maintainers may proceed with 
reviewing that PR directly.
   
   ---
   *Automated evaluation by github-manager-bot*


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to