Home
last modified time | relevance | path

Searched refs:intToUtf8 (Results 1 – 25 of 61) sorted by relevance

123

/dports/devel/R-cran-pillar/pillar/tests/testthat/
H A Dtest-zzx-format_character.R37 "x\u034fx\ufeffx", intToUtf8(0xE0001), "x",
38 intToUtf8(0xE0020), "x", intToUtf8(0xE01EF), "x"
49 intToUtf8(0x1F600), intToUtf8(0x1F601),
50 intToUtf8(0x1F602), intToUtf8(0x1F603),
51 intToUtf8(0x1F604), intToUtf8(0x1F483)
55 chars[12] <- paste0("x", intToUtf8(0x10ffff), "x")
H A Dtest-format_character.R37 "x\u034fx\ufeffx", intToUtf8(0xE0001), "x",
38 intToUtf8(0xE0020), "x", intToUtf8(0xE01EF), "x"
49 intToUtf8(0x1F600), intToUtf8(0x1F601),
50 intToUtf8(0x1F602), intToUtf8(0x1F603),
51 intToUtf8(0x1F604), intToUtf8(0x1F483)
55 chars[12] <- paste0("x", intToUtf8(0x10ffff), "x")
/dports/math/R-cran-backports/backports/R/
H A DdQuote.R28 z <- iconv(c(intToUtf8(0x201c), intToUtf8(0x201d)),
38 before <- intToUtf8(0x201c); after <- intToUtf8(0x201d)
65 z <- iconv(c(intToUtf8(0x2018), intToUtf8(0x2019)),
75 before <- intToUtf8(0x2018); after <- intToUtf8(0x2019)
/dports/textproc/R-cran-utf8/utf8/tests/testthat/
H A Dtest-utf8_print.R381 "x\u034fx\ufeffx", intToUtf8(0xE0001), "x",
382 intToUtf8(0xE0020), "x", intToUtf8(0xE01EF), "x"
393 intToUtf8(0x1F600), intToUtf8(0x1F601),
394 intToUtf8(0x1F602), intToUtf8(0x1F603),
395 intToUtf8(0x1F604), intToUtf8(0x1F483)
399 chars[12] <- paste0("x", intToUtf8(0x10ffff), "x")
438 paste0("11 ", paste(intToUtf8(0x1F600), intToUtf8(0x1F601),
439 intToUtf8(0x1F602), intToUtf8(0x1F603),
440 intToUtf8(0x1F604), intToUtf8(0x1F483), "",
H A Dtest-utf8_width.R17 expect_equal(utf8_width(intToUtf8(0x1f642), encode = FALSE), 2)
24 x <- c("hello", "\u200b", "\u22ee", "\u6027", intToUtf8(0x1f642))
67 x <- intToUtf8(c(0x1F487, 0x200D, 0x2642, 0xFE0F))
H A Dtest-utf8_format.R144 raw <- c(intToUtf8(0x00010000), intToUtf8(0x0010ffff))
161 raw <- c(intToUtf8(0x00010000), intToUtf8(0x010ffff))
162 left <- c(paste0(intToUtf8(0x00010000), " "), intToUtf8(0x010ffff))
163 right <- c(paste0(" ", intToUtf8(0x00010000)), intToUtf8(0x010ffff))
H A Dtest-utf8_encode.R38 x <- intToUtf8(0x0001f60d)
/dports/math/R/R-4.1.2/src/library/base/R/
H A Dcharacter.R141 z <- iconv(c(intToUtf8(0x2018), intToUtf8(0x2019)),
151 before <- intToUtf8(0x2018); after <- intToUtf8(0x2019)
174 z <- iconv(c(intToUtf8(0x201c), intToUtf8(0x201d)),
184 before <- intToUtf8(0x201c); after <- intToUtf8(0x201d)
H A Draw.R41 intToUtf8 <- function(x, multiple = FALSE, allow_surrogate_pairs = FALSE) function
42 .Internal(intToUtf8(x, multiple, allow_surrogate_pairs))
/dports/math/libRmath/R-4.1.1/src/library/base/R/
H A Dcharacter.R141 z <- iconv(c(intToUtf8(0x2018), intToUtf8(0x2019)),
151 before <- intToUtf8(0x2018); after <- intToUtf8(0x2019)
174 z <- iconv(c(intToUtf8(0x201c), intToUtf8(0x201d)),
184 before <- intToUtf8(0x201c); after <- intToUtf8(0x201d)
H A Draw.R41 intToUtf8 <- function(x, multiple = FALSE, allow_surrogate_pairs = FALSE) function
42 .Internal(intToUtf8(x, multiple, allow_surrogate_pairs))
/dports/math/R/R-4.1.2/src/library/base/man/
H A Dutf8Conversion.Rd8 \alias{intToUtf8}
18 intToUtf8(x, multiple = FALSE, allow_surrogate_pairs = FALSE)
38 \code{intToUtf8} does not by default handle surrogate pairs: inputs in
55 by \code{utf8ToInt} and by default by \code{intToUtf8}.
67 \code{intToUtf8} converts a numeric vector of Unicode code points
84 intToUtf8(0x03B2L) # Greek beta
91 intToUtf8(x)
92 intToUtf8(x, TRUE)
93 (xx <- intToUtf8(x, , TRUE)) # will only display in some locales and fonts
106 intToUtf8(y, , TRUE)
/dports/math/libRmath/R-4.1.1/src/library/base/man/
H A Dutf8Conversion.Rd8 \alias{intToUtf8}
18 intToUtf8(x, multiple = FALSE, allow_surrogate_pairs = FALSE)
38 \code{intToUtf8} does not by default handle surrogate pairs: inputs in
55 by \code{utf8ToInt} and by default by \code{intToUtf8}.
67 \code{intToUtf8} converts a numeric vector of Unicode code points
84 intToUtf8(0x03B2L) # Greek beta
91 intToUtf8(x)
92 intToUtf8(x, TRUE)
93 (xx <- intToUtf8(x, , TRUE)) # will only display in some locales and fonts
106 intToUtf8(y, , TRUE)
/dports/math/R/R-4.1.2/tests/
H A Dutf8.R6 y <- intToUtf8(x, multiple = TRUE)
14 stopifnot(is.na(intToUtf8(c(0x200000, 0x10FFFF + 1:10))))
47 x1 <- intToUtf8(x)
52 x1 <- intToUtf8(z, allow_surrogate_pairs = TRUE)
/dports/math/libRmath/R-4.1.1/tests/
H A Dutf8.R6 y <- intToUtf8(x, multiple = TRUE)
14 stopifnot(is.na(intToUtf8(c(0x200000, 0x10FFFF + 1:10))))
47 x1 <- intToUtf8(x)
52 x1 <- intToUtf8(z, allow_surrogate_pairs = TRUE)
/dports/devel/R-cran-cli/cli/R/
H A Dspark.R68 bars <- vapply(0x2581:0x2588, intToUtf8, character(1))
138 intToUtf8(val)
/dports/textproc/R-cran-utf8/utf8/man/
H A Dutf8_print.Rd83 print(intToUtf8(0x1F600 + 0:79)) # with default R print function
84 utf8_print(intToUtf8(0x1F600 + 0:79)) # with utf8_print, truncates line
85 utf8_print(intToUtf8(0x1F600 + 0:79), chars = 1000) # higher character limit
90 utf8_print(intToUtf8(0x1F600 + 0:79))
/dports/textproc/R-cran-utf8/utf8/vignettes/
H A Dutf8.Rmd137 ascii <- apply(codes, c(1, 2), intToUtf8)
169 utf8_print(intToUtf8(1:0x0f), quote = FALSE)
180 print(intToUtf8(1:0x0f), quote = FALSE)
202 latin1 <- apply(codes, c(1, 2), intToUtf8)
288 intToUtf8(0x2603) # from an integer
308 print(intToUtf8(0x1f600 + 0:79)) # base R
316 utf8_print(intToUtf8(0x1f600 + 0:79)) # truncates to line width
324 utf8_print(intToUtf8(0x1f600 + 0:79), chars = 500) # increase character limit
/dports/textproc/R-cran-utf8/utf8/inst/doc/
H A Dutf8.Rmd137 ascii <- apply(codes, c(1, 2), intToUtf8)
169 utf8_print(intToUtf8(1:0x0f), quote = FALSE)
180 print(intToUtf8(1:0x0f), quote = FALSE)
202 latin1 <- apply(codes, c(1, 2), intToUtf8)
288 intToUtf8(0x2603) # from an integer
308 print(intToUtf8(0x1f600 + 0:79)) # base R
316 utf8_print(intToUtf8(0x1f600 + 0:79)) # truncates to line width
324 utf8_print(intToUtf8(0x1f600 + 0:79), chars = 500) # increase character limit
/dports/misc/R-cran-xfun/xfun/man/
H A Dis_ascii.Rd23 is_ascii(intToUtf8(8212)) # no
H A Dnative_encode.Rd24 s = intToUtf8(c(20320, 22909))
H A Dsystem3.Rd22 a = shQuote(c("-e", "print(intToUtf8(c(20320, 22909)))"))
/dports/misc/R-cran-xfun/xfun/R/
H A Drstudio.R65 ascii_chars = intToUtf8(32:126, TRUE)
/dports/math/R/R-4.1.2/src/library/utils/man/
H A DcharClass.Rd57 something like \code{grepl("[[:print:]]", intToUtf8(x))} -- however,
85 X <- as.data.frame(X); row.names(X) <- sQuote(intToUtf8(x, multiple = TRUE))
/dports/math/libRmath/R-4.1.1/src/library/utils/man/
H A DcharClass.Rd57 something like \code{grepl("[[:print:]]", intToUtf8(x))} -- however,
85 X <- as.data.frame(X); row.names(X) <- sQuote(intToUtf8(x, multiple = TRUE))

123