Nicholas Chammas <[email protected]> added the comment:
Looks like it's bytes written, not characters:
```
>>> import csv
>>> with open('test.csv', 'w', newline='') as csv_file:
... csv_writer = csv.writer(
... csv_file,
... dialect='unix',
... )
... csv_writer.writerow('야 너') # 3 characters
...
12
```
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34713>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com