View source: R/convert_umlauts_to_utf8.R
| convert_umlauts_to_utf8 | R Documentation |
Convert German Umlauts to a More or Less Suitable 'utf8' Representation
convert_umlauts_to_utf8(x)
## S3 method for class 'character'
convert_umlauts_to_utf8(x)
## S3 method for class 'data.frame'
convert_umlauts_to_utf8(x)
x |
A string or |
x with the umlauts converted to utf8.
Other German umlaut converters:
convert_umlauts_to_ascii(),
convert_umlauts_to_tex(),
get_german_umlauts()
string <- "_(\xdcLH)"
print(string)
print(convert_umlauts_to_utf8(string))
string <- "this is _(\xdcLH) string"
df <- data.frame(v1 = c(string, "foobar"),
v2 = c("foobar", string), v3 = 3:4)
names(df)[3] <- "y_(\xdcLH)"
convert_umlauts_to_utf8(df)
convert_umlauts_to_ascii(convert_umlauts_to_utf8(df))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.