dfe-analytical-services / dfeR

Common R tasks in the Department for Education (DfE)
https://dfe-analytical-services.github.io/dfeR/
GNU General Public License v3.0
9 stars 2 forks source link

read_sql_script doesnt work well with unicode #39

Closed adamrobinson361 closed 5 years ago

adamrobinson361 commented 6 years ago

Background

Issue around how read_sql_script/ underlying readLines is interpretting unicode scripts. They either fail to load in or have not been decoded.

Steps to reproduce

  1. Save sql script as unicode
  2. Try and load in