FlowingCode / GridExporterAddon

Apache License 2.0
10 stars 9 forks source link

How to use utf-8 charset for csv? #89

Closed javier-godoy closed 7 months ago

javier-godoy commented 8 months ago

In Vaadin directory, Sezim Satybaldieva asked:

How to use utf-8 charset for csv?

javier-godoy commented 8 months ago

Currently the charset cannot be customized. CsvInputStreamFactory uses the default character encoding: https://github.com/FlowingCode/GridExporterAddon/blob/e4cd1ceec8cc41526d2a840ebae3188e80b39104/src/main/java/com/flowingcode/vaadin/addons/gridexporter/CsvInputStreamFactory.java#L75-L75