Created
January 26, 2013 18:13
-
-
Save nassimhaddad/4643587 to your computer and use it in GitHub Desktop.
remove non-ascii characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remove non-ascii characters | |
df$text <- gsub("[^\x20-\x7E]", "", df$text) |
That looks good - I will give it a try
Thanks for this! Worked perfectly for sanitizing some GPS coordinates.
Worked
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice job. I was trying for something equivalent.