encToInt: Converts a character vector to an integer vector

Description Usage Arguments Value See Also Examples

Description

Conversion of character vector to integer vector. The encoding of the character vector can be specified but will default to the current locale.

Usage

1
  encToInt(x, encoding = localeToCharset())

Arguments

x

Character vector

encoding

A character string describing the encoding of x. Defaults to the current locale. See also iconvlist

Value

An integer vector

See Also

intToEnc, iconv and utf8ToInt

Examples

1
encToInt("\\xfa")

andrie/surveyortools documentation built on May 10, 2019, 11:42 a.m.