Running a query using sqldf outputs garbled characters when the query results include characters such as: é
,š
.
When I checked the encoding of those fields in the original df, they are specifically UTF-8, but after the query with sqldf, they become "unknown" (which is the normal values if the string can be encoded using ASCII).
I converted the column to character (using as.character) but I still encounter this problem. In the documentation of sqldf I did not find a way to determine the query output encoding.