Write XLS with Chinese Characters #553
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
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#553
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?
I want convert below data to xls,Has a simple way write it to xls by sheetjs?
#source data
head row
[‘名称’,'价格','数量']
data rows
'衣服',10,100],['帽子',10,100
@keyiis check the sample file tests/write.js for how to generate a file from an array of arrays of content in nodejs.
You should only have to change the data object:
I am not entirely sure if BIFF2 (excel 2.0) supports chinese characters, but the other formats should be correct.
These are my results: https://gist.github.com/SheetJSDev/03b0717087c9e2c088b593019367fcd9
The new default XLS export is BIFF8 (97-2004) which does support Chinese characters!