You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Streaming CSV Export ignores CSV_EXPORT settings (encoding=utf-8-sig and sep=';') while ZIP CSV export respects them #45347
However, direct/streaming CSV chart downloads ignore these settings and generate:
UTF-8 without BOM
Comma-separated CSV
This leads to inconsistent export behavior and causes interoperability issues with Microsoft Excel.
Expected Behavior
All CSV export methods should respect the configured values
Actual Behavior
ZIP Export
Produces:
UTF-8 BOM
Semicolon delimiter
Excel opens the file correctly via double-click.
Direct CSV Download (Streaming Export)
Produces:
UTF-8 (without BOM)
Comma delimiter
Excel does not correctly interpret the file when opened via double-click:
Umlauts appear corrupted (e.g. Müller)
Columns may not be split correctly depending on regional settings
Test A: ZIP Export
Export data using a ZIP-based export path.
Hi, I'd like to work on this. On master the streaming export already applies the CSV_EXPORT sep, but _execute_query_and_stream in streaming_export/base.py yields str chunks sent as plain UTF-8, so no BOM. I'd encode them with the configured encoding (BOM only once) and add tests.
Activity
schizophrenicmaniac commentedon Oct 15, 2026
Hi, I'd like to work on this. On master the streaming export already applies the CSV_EXPORT sep, but _execute_query_and_stream in streaming_export/base.py yields str chunks sent as plain UTF-8, so no BOM. I'd encode them with the configured encoding (BOM only once) and add tests.