u_scripts: Unicode Scripts

View source: R/ucdmisc.R

u_scriptsR Documentation

Unicode Scripts

Description

Unicode scripts.

Usage

u_scripts(x)

Arguments

x

a character vector with the names of Unicode scripts.

Value

If x is missing, a list of the Unicode scripts given as u_char_range Unicode character ranges, with the (full) block names as names.

If x is given, a (sub)list of the specific Unicode scripts.

References

Unicode Character Database (https://www.unicode.org/ucd/)

See Also

u_char_property to find the script (property) of Unicode characters.

Examples

scripts <- u_scripts()
names(scripts)
## Total number of code points assigned to the scripts:
sort(vapply(scripts, function(s) sum(n_of_u_chars(s)), 0),
     decreasing = TRUE)

Unicode documentation built on May 29, 2024, 2:36 a.m.

Related to u_scripts in Unicode...