Add support for more encodings

Created on 21 March 2018, almost 7 years ago
Updated 7 May 2024, 8 months ago

Problem/Motivation

Follow-up to #2931148-2: Consider to release 8.x-2.x and update league/csv to 9.x β†’

Library has support for more encodings, it is very useful allow users to choose in which encoding to export data.
On client projects we often need to export in 8859-15 with a help of http://dgo.to/views_data_export

Proposed resolution

Add new option for integration with encoding option from views_data_export (earlier this option was in module, but do not used in csv_serialization)

- http://csv.thephpleague.com/8.0/converting/
- http://csv.thephpleague.com/8.0/filtering/
- Example https://github.com/thephpleague/csv/blob/8.x/examples/stream.php#L49

Remaining tasks

- Create patch
- Add tests

User interface changes

no

API changes

optional key to $settings for CsvEncoder

✨ Feature request
Status

Needs work

Version

4.0

Component

Code

Created by

πŸ‡«πŸ‡·France andypost

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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