powered by
Conversion of character vector to integer vector. The encoding of the character vector can be specified but defaults to the current locale.
encToInt(x, encoding = localeToCharset())
Character vector
A character string describing the encoding of x. Defaults to the current locale. See also iconvlist
iconvlist
An integer vector
iconv
Other Functions to clean data: fixCommonEncodingProblems, fixLevels01, fixLevels01R, fixLevels01SPSS, hasDK, intToEnc, leveltestR, leveltestSPSS, removeAllDK, removeDK
fixCommonEncodingProblems
fixLevels01
fixLevels01R
fixLevels01SPSS
hasDK
intToEnc
leveltestR
leveltestSPSS
removeAllDK
removeDK
# NOT RUN { encToInt("\\xfa") # }
Run the code above in your browser using DataLab