unicode: Unicode

View source: R/unicode.R

unicodeR Documentation

Unicode

Description

Get character from the Unicode code chart (or get code point of a character if reverse = TRUE).

Usage

unicode(x = 0:255, reverse = FALSE)

Arguments

x

a code point as decimal or hexadecimal number (or a character if reverse = TRUE).

reverse

whether to get a point point from a character.

Value

String vector, or integer vector if reverse = TRUE.

Note

Hexadecimal number can be passed as 0xfe or "fe", but not "0xfe".


arnima-github/arni documentation built on Oct. 28, 2023, 6:18 p.m.