sonata-project / exporter

Lightweight Exporter library
https://docs.sonata-project.org/projects/exporter
MIT License
438 stars 88 forks source link

Encoding problems for CsvWriter #543

Closed c-Rolland closed 2 years ago

c-Rolland commented 3 years ago

Environment

Sonata packages

show

``` $ composer show --latest 'sonata-project/exporter' name : sonata-project/exporter descrip. : Lightweight Exporter library keywords : bundle, client, csv, data, export, symfony-bundle, xls versions : * 2.7.0 latest : 2.8.0 type : library license : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText homepage : https://github.com/sonata-project/Exporter source : [git] https://mirrors.ekino.com/git/github.com/sonata-project/exporter.git 66a95588149bfe58bb6b854e0022dbfe45c8c025 dist : [zip] https://mirrors.ekino.com/git/github.com/sonata-project/exporter/66a95588149bfe58bb6b854e0022dbfe45c8c025.zip 66a95588149bfe58bb6b854e0022dbfe45c8c025 path : /var/www/html/skoda/laurin/vendor/sonata-project/exporter names : sonata-project/exporter autoload psr-4 Sonata\Exporter\ => src/ Sonata\Exporter\Bridge\Symfony\ => src/Bridge/Symfony/ requires php ^7.3 || ^8.0 requires (dev) doctrine/dbal ^2.5 doctrine/mongodb-odm ^2.0 doctrine/orm ^2.4.5 matthiasnoback/symfony-config-test ^4.2 matthiasnoback/symfony-dependency-injection-test ^4.0 propel/propel1 ^1.6 symfony/config ^4.4 || ^5.2 symfony/dependency-injection ^4.4 || ^5.2 symfony/http-foundation ^4.4 || ^5.2 symfony/http-kernel ^4.4 || ^5.2 symfony/phpunit-bridge ^5.2 symfony/property-access ^4.4 || ^5.2 symfony/routing ^4.4 || ^5.2 suggests propel/propel1 To export propel collections symfony/property-access To be able to export from database entities symfony/routing To be able to export the routes of a Symfony app conflicts doctrine/mongodb-odm <2.0 ```

Symfony packages

show

``` $ composer show --latest 'symfony/*' N/A ```

PHP version

$ php -v

PHP 7.4.15 (cli) (built: Feb 18 2021 00:57:06) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.15, Copyright (c), by Zend Technologies
    with Xdebug v3.0.4, Copyright (c) 2002-2021, by Derick Rethans
    with blackfire v1.61.0~linux-musl-x64-non_zts74, https://blackfire.io, by Blackfire

Subject

Handle the encoding problems for CsvWriter

Steps to reproduce

Export data that contains characters with accents like : "éàè etc..."

Mattin commented 2 years ago

Same issue. @c-Rolland did you find a solution for this?

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

coderpauloo commented 1 year ago

Hi, any chance someone found a fix/workaround for this issue about characters with accents please?