Is there package or function for encode quoted-printable text from email using R?
Content-Type: text/plain; charset="windows-1251"
Encoding from the
base package should do the job. For example:
x <- "fa\xE7ile" Encoding(x) Encoding(x) <- "latin1" x
Your text from email would be simply a string vector so you can encode it as you please.