rLTP (version 0.1.4)

isUTF8: Indicate whether the encoding of input string is UTF-8.

Description

Indicate whether the encoding of input string is UTF-8.

Usage

isUTF8(string, combine = FALSE)

Arguments

string
A character vector.
combine
Whether to combine all the strings.

Value

A vector of logical values, the length of string - or a single logical value if combine is TRUE.