Corrupted xlsx with unicode characters in worksheet title

Created on 17 February 2020, almost 5 years ago
Updated 18 September 2024, 3 months 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

Fixed

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.71.5 2024