Utf8 Byte Order Marker not working

Created on 4 January 2019, almost 6 years ago
Updated 16 November 2023, about 1 year ago

See https://www.drupal.org/project/csv_serialization/issues/2859030 β†’ . The patch added by this issue enables the inclusion of a BOM at the start of CSV output when the following conditions are met:

$this->useUtf8Bom = ($settings['encoding'] === 'utf8' && !empty($settings['utf8_bom']));

Note the reference to the setting utf8_bom. I cannot find any reference to this setting elsewhere in the csv_serialisation code so it never passes and the BOM is never included.

πŸ› Bug report
Status

Closed: outdated

Version

1.4

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom johnvb

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

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