R/TrimOddChar.R

Defines functions TrimOddChar TrimOddCharMac

TrimOddChar <-
function(x) {
  # remove odd charactors
  iconv(x, to = 'utf-8')
}

TrimOddCharMac <-
function(x) {
  # remove odd charactors
  iconv(x, to = 'utf-8-mac')
}

Try the SocialMediaLab package in your browser

Any scripts or data that you put into this service are public.

SocialMediaLab documentation built on May 29, 2017, 9:41 p.m.