[C++][Python] Add an option to specify encoding in WriteOptions (CSV Writer)
Open
Component: Python
Type: enhancement
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the enhancement requested
Apparently, there is no `encoding` option in the `pyarrow.csv.WriteOptions` class, so there seems to be no way to specify an encoding when writing a CSV file.
There might be cases where `UTF-8` is not wanted. The most obvious one to me is to write using `UTF-8-SIG` for full compatibility with Excel.
### Component(s)
Python
Contributor guide
Assessment
This issue has not been assessed yet.