diff options
| author | Ian Clarkson <[email protected]> | 2019-12-16 09:17:41 -0800 |
|---|---|---|
| committer | Stefan Daschek <[email protected]> | 2019-12-17 01:51:55 +0100 |
| commit | 5d3f4a9b0f8c9474459e174cf22aeb8252f444ab (patch) | |
| tree | b911cee956d740a1ab3edb9bb9ce798b60b7acb3 /examples | |
| parent | 75cec07c450378a597c8bbae1ca10229b6fb2bf1 (diff) | |
| download | caxlsx-5d3f4a9b0f8c9474459e174cf22aeb8252f444ab.tar.gz caxlsx-5d3f4a9b0f8c9474459e174cf22aeb8252f444ab.zip | |
Check size in bytes as opposed to string size
- `size` returns length in characters, but doesn't factor in multibyte Unicode characters.
By switching to `bytesize`, we check the relevant measure of how many bytes the worksheet name is.
- Fixes https://github.com/randym/axlsx/issues/588
- Copy of PR against original axlsx
(https://github.com/randym/axlsx/pull/589)
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
