R/utf8.R

Defines functions get_texts

text_cyrillic <- "\u041a\u0438\u0440\u0438\u043b\u043b"

text_latin <- "M\u00fcller"

text_latin_encoded <- iconv(text_latin, from = "UTF-8", to = "latin1")

text_chinese <- "\u6211\u662f\u8c01"

text_ascii <- iconv("ASCII", to = "ASCII")

get_texts <- function() {
  c(text_cyrillic, text_latin, text_latin_encoded, text_chinese, text_ascii)
}

Try the DBItest package in your browser

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

DBItest documentation built on Oct. 18, 2022, 9:09 a.m.