Skip to content

fix(export): make CSV exports open correctly in Excel on Windows - #1629

Merged
viethung0o0 merged 2 commits into
mainfrom
fix/csv-export-utf8-bom
Nov 3, 2026
Merged

viethung0o0 merged 2 commits into
mainfrom
fix/csv-export-utf8-bom

Conversation

@viethung0o0

Copy link
Copy Markdown
Contributor

Summary

  • fix garbled Vietnamese and other non-ASCII names when CSV exports are opened in Excel on Windows
  • apply the fix to contact, coupon, leaderboard and ads exports
  • share one CSV writer across exports so formatting and formula protection stay consistent
  • stop coupon and leaderboard exports from hanging when the file upload fails
  • stream the ads export as the download is read instead of loading it all into memory
  • remove third-party product references from code comments

Verification

  • pnpm --filter worker test
  • pnpm --filter builder test
  • pnpm --filter @chatbotx.io/utils test
  • pnpm --filter @chatbotx.io/filesystem test
  • pnpm --filter @chatbotx.io/imports exec vitest run
  • pnpm turbo check-types
  • pnpm check:invariants
  • pnpm exec ultracite check

Add a UTF-8 BOM to contact, coupon, leaderboard and ads exports so non-ASCII names are no longer garbled, and share one CSV writer across them.
@github-actions github-actions Bot added the bug Something isn't working as expected label Nov 3, 2026
@viethung0o0
viethung0o0 marked this pull request as ready for review November 3, 2026 03:08
@viethung0o0
viethung0o0 merged commit 733a5f8 into main Nov 3, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants