inst/doc/utf8ify.R

## -----------------------------------------------------------------------------
library(utf8ify)
text <- "\nHello World"

cat(
  text,
  utf8_text_bold(text),
  utf8_text_bold2(text),
  utf8_text_italic(text),
  utf8_text_bolditalic(text),
  utf8_text_cursive(text),
  utf8_text_gothic(text),
  utf8_text_circle(text)
)

## -----------------------------------------------------------------------------
utf8_text_bold("Heute ist ein schöner Tag")

## -----------------------------------------------------------------------------
utf8_number_box(123.45)

## -----------------------------------------------------------------------------
u <- utf8_collection()

## -----------------------------------------------------------------------------
u$fav |> unlist()

## -----------------------------------------------------------------------------
u$animal |> unlist()

## -----------------------------------------------------------------------------
u$celebrate |> unlist()

## -----------------------------------------------------------------------------
u$clock |> unlist()

## -----------------------------------------------------------------------------
u$eat |> unlist()

## -----------------------------------------------------------------------------
u$drink |> unlist()

## -----------------------------------------------------------------------------
u$list |> unlist()

## -----------------------------------------------------------------------------
u$office |> unlist()

## -----------------------------------------------------------------------------
u$person |> unlist()

## -----------------------------------------------------------------------------
utf8_block(from = "0x1F600", to = "0x1F64F", show_names = FALSE)

## -----------------------------------------------------------------------------
utf8_block(from = "0x2600", to = "0x26FF", show_names = FALSE)

## -----------------------------------------------------------------------------
utf8_block(from = "0x16A0", to = "0x16F0", show_names = FALSE)

## -----------------------------------------------------------------------------
utf8_inspect("❤️")

Try the utf8ify package in your browser

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

utf8ify documentation built on April 3, 2025, 6:20 p.m.