mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-02 10:04:09 +03:00
spreadsheet import utf8 emoji support (#5720)
fixes https://github.com/twentyhq/twenty/issues/5476 took some time to find the right spot, but ChatGPT was helpful enough in this case 😄 <img width="311" alt="Screenshot 2024-06-03 at 20 24 26" src="https://github.com/twentyhq/twenty/assets/19856731/4ea0188b-bee5-4a4f-a8af-2630e3b1c373">
This commit is contained in:
parent
671de4170f
commit
dcd769f20f
@ -124,6 +124,7 @@ export const DropZone = ({ onContinue, isLoading }: DropZoneProps) => {
|
||||
const arrayBuffer = await readFileAsync(file);
|
||||
const workbook = XLSX.read(arrayBuffer, {
|
||||
cellDates: true,
|
||||
codepage: 65001, // UTF-8 codepage
|
||||
dateNF: dateFormat,
|
||||
raw: parseRaw,
|
||||
dense: true,
|
||||
|
Loading…
Reference in New Issue
Block a user