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
fix(catalog): handle Excel UTF-8 BOM, formatted prices, and boolean tokens in CSV import #1602
Menu CSV files exported from Microsoft Excel on Windows commonly start with a UTF-8 BOM (\uFEFF), use uppercase/word boolean values (TRUE/FALSE, Yes/No), or include unambiguous currency symbols/grouping commas in price columns, causing main/routes/menu-csv.ts to reject valid merchant spreadsheets.
Scope:
Strip a leading UTF-8 BOM (\uFEFF) before header parsing in parseCSV().
Support unambiguous formatted price inputs (leading/trailing currency symbols/codes and standard thousands grouping, while rejecting ambiguous separators) and case-insensitive boolean tokens (true/false, yes/no, 1/0) where boolean columns are parsed.
Preserve all existing CSV formula-injection guards, byte/row/column/cell caps, and strict validation invariants, with unit regression tests.
Looking into this now to harden CSV menu imports for Windows Excel UTF-8 BOM, unambiguous formatted prices, and boolean tokens while keeping existing validation and injection guards intact.
Activity
khaira777 commentedon Nov 17, 2026
Looking into this now to harden CSV menu imports for Windows Excel UTF-8 BOM, unambiguous formatted prices, and boolean tokens while keeping existing validation and injection guards intact.