to_plain: Convert UTF8 string to ASCII string

Description Usage Arguments Details Value References Examples

View source: R/to_plain.R

Description

Convert UTF8 string to ASCII string

Usage

1

Arguments

x

character vector

Details

This function substitutes ASCII characters for (many) none-ASCII characters, e.g. ä,ö,ü

Value

vector with ASCII characters only

References

Source: https://stackoverflow.com/questions/17517319/r-replacing-foreign-characters-in-a-string

Examples

1
2
3
4
5
6
7
 ## Not run: 

 x <- "Viele Grüße nach Eisenhüttenstadt"
 to_plain(x)
 
 
## End(Not run)

sumtxt/datatools documentation built on Oct. 7, 2018, 11:18 p.m.