'dbWriteTable in R to Snowflake

I try to write dataframe from R to Snowflake via dbWriteTable. But in Snowflake text should look in this way "się" instead "siÄ™"

dbWriteTable(myconn, table_id, dataframe, overwrite=T,
             field.types=sql.field.types,fileEncoding="windows-1250")

Encoding of dataframe is "windows-1250".

In function DBI::dbConnect I also tried to set encoding - encoding = "windows-1250" but it didn't help.

Convert to "UTF-8" also didn't help



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source