Corrupted xlsx with unicode characters in worksheet title

Created on 17 February 2020, over 4 years ago
Updated 27 May 2024, 29 days ago

When string used as worksheet title contains UTF-8 character with two bytes on 30th position, e.g. "12345678901234567890123456789Γ‘", exported xlsx file is corrupted.

I guess, in method Drupal\xls_serialization\Encoder\Xls->validateWorksheetTitle() introduced in issue 2903479 β†’ should be used mb_substr instead of substr.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024