Skip to content

Commit 0434e34

Browse files
committed
try forcing utf-8 encoding
1 parent 3ed5a24 commit 0434e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas_gbq/gbq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ def load_data(self, dataframe, dataset_id, table_id, chunksize):
581581
self._print("\rLoad is {0}% Complete".format(
582582
((total_rows - remaining_rows) * 100) / total_rows))
583583

584-
body = BytesIO('{}\n'.format('\n'.join(rows)).encode())
584+
body = BytesIO('{}\n'.format('\n'.join(rows)).encode('utf-8'))
585585

586586
try:
587587
self.client.load_table_from_file(

0 commit comments

Comments
 (0)