Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataTable downloadCsv result error #6409

Open
5 tasks done
andyyxw opened this issue Sep 29, 2024 · 4 comments · May be fixed by #6410
Open
5 tasks done

DataTable downloadCsv result error #6409

andyyxw opened this issue Sep 29, 2024 · 4 comments · May be fixed by #6410
Assignees
Labels
bug Something isn't working

Comments

@andyyxw
Copy link

andyyxw commented Sep 29, 2024

Describe the bug

  1. The display is abnormal when using Chinese in Excel and the number of columns is incorrect. This should be an Excel problem. It can be solved by adding a BOM header
    image
    image
    image

  2. Columns with commas will be divided into multiple columns.
    image
    image
    image

Steps to reproduce

Based on the official Export CSV demo, only the data and column titles are modified. You can view it at the reproduction link below.

Link to minimal reproduction

https://codesandbox.io/p/sandbox/naive-ui-datatable-downloadcsv-zr9lsq?workspaceId=57d0f124-0776-4304-a229-b0c28c9a6672

System Info

System:
  OS: Windows 11 10.0.22631
  CPU: (28) x64 Intel(R) Core(TM) i7-14700K
  Memory: 28.13 GB / 63.77 GB
Binaries:
  Node: 20.17.0 - ~\AppData\Local\fnm_multishells\120800_1727579661607\node.EXE
  Yarn: 1.22.22 - ~\.npm_global\yarn.CMD
  npm: 10.8.2 - ~\AppData\Local\fnm_multishells\120800_1727579661607\npm.CMD
Browsers:
  Edge: Chromium (127.0.2651.86)
  Internet Explorer: 11.0.22621.3527

Used Package Manager

npm

Validations

@andyyxw
Copy link
Author

andyyxw commented Sep 29, 2024

download

https://mega.co.nz/#!qq4nATTK!oDH5tb3NOJcsSw5fRGhLC8dvFpH3zFCn6U2esyTVcJA Archive codepass: changeme

you may need to install the c compiler

@07akioni He always provides some unknown files that are identified as dangerous in the issue. What is he doing?

@jahnli
Copy link
Collaborator

jahnli commented Sep 29, 2024

我已经将问题标记为垃圾评论,#5821 关于逗号问题需要测试下

@tusen-ai tusen-ai deleted a comment Sep 29, 2024
@jahnli
Copy link
Collaborator

jahnli commented Sep 29, 2024

Sandbox not found

@andyyxw
Copy link
Author

andyyxw commented Sep 29, 2024

Sandbox not found

sorry, it's accessible now

@jahnli jahnli self-assigned this Sep 30, 2024
@jahnli jahnli added bug Something isn't working and removed untriaged need to sort labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants