Permalink
Browse files

Merge branch 'mysql-utf8'

  • Loading branch information...
2 parents 27f497b + 1212b3e commit 2b8be0fbde43d58b6282271f2ceb5f15fcce40db @cortex cortex committed Jan 29, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 R/sql.reader.R
View
@@ -133,6 +133,7 @@ sql.reader <- function(data.file, filename, variable.name)
dbname = database.info[['dbname']],
port = as.integer(database.info[['port']]),
unix.socket = database.info[['socket']])
+ dbGetQuery(connection, "SET NAMES 'utf8'") # Switch to utf-8 strings
}
if (database.info[['type']] == 'sqlite')

0 comments on commit 2b8be0f

Please sign in to comment.