CSV writefile delimiter change based on region #2923
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2923
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
My app has a basic "export to CSV" feature that takes users data in JSON format from an API endpoint and writes to an export.csv file.
This works well for users in regions where the delimiter is a comma.
However some users are in regions where the comma is used as the decimal in price information e.g. €5,78 and there the delimiter is the semicolon.
Is this handled natively by, say, using browser detection or should I do the detection in code and use utils.sheet_to_csv setting FS value manually?
Thanks
Currently there is no logic for auto-detecting the user locale settings. This is feasible and is planned before our 1.0 release.