On Fri, 17 May 2019 11:36:22 -0700
Michael Boulineau <michael.p.boulin...@gmail.com> wrote:

> So, who knows what happened with the  at the beginning of [1]
> directly above.

 perl -Mutf8 -MEncode=encode,decode -Mcharnames=:full \
 -E'say charnames::viacode ord decode utf8 => encode latin1 => ""'
# ZERO WIDTH NO-BREAK SPACE

So the text seems to have been encoded in UTF-8, then decoded as
Latin-1. If you have multiple such artefacts and want to get rid of
them, try:

a <- readLines(con <- file("hangouts-conversation-6.csv.txt", encoding
= "UTF-8")); close(con); rm(con)

-- 
Best regards,
Ivan

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to