Closed RobertMyles closed 5 years ago
At the R level, is this what you're after
Encoding(sf$name) <- 'latin1'
Encoding(sf$description) <- 'latin1'
Lovely, should have remembered Encoding()
! Thanks for the quick response.
I think for now I'm leaving this as an R-solution, rather than adding to the underlying C++ code. But, I may re-visit in a few months after I've updated all my other libraries.
Thanks for reporting/suggesting.
Hi,
Great package, thanks a lot! Just saved me a whole load of work. However, there is one thing catching me: latin characters in the json. (See here for the original file).
Here's what I'm getting (geometry excluded). I've tried to correct this using
stringi::stri_trans_general()
, but to no avail. Is it possible to include it in the parsing of the original file?