| removeaccents | R Documentation |
Fold accented Latin letters to their unaccented ASCII form
("café" -> "cafe"), following ICU's Latin-ASCII mapping: covers the
Latin-1 Supplement and Latin Extended-A blocks, plus a few common extras
(ß -> "ss", Æ -> "AE", Romanian ș/ț). Characters with no
mapping, including non-Latin scripts, pass through unchanged. No Unicode
library dependency.
removeaccents(x)
x |
An atomic vector. |
A character vector the same length as x.
transliterate() for Greek and Cyrillic as well.
removeaccents(c("café", "naïve", "Zürich", "Kraków"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.