str_utf2cp: Change encoding of cyrillic text from "utf8" to "cp1251"

Description Usage Arguments Details Value Examples

Description

Change encoding of cyrillic text from "utf8" to "cp1251"

Usage

1
str_utf2cp(x, backward = FALSE)

Arguments

x

the vector or data.frame of cyrillic characters

backward

(default FALSE) TRUE: utf8 to cp1251, FALSE: cp1251 to utf8

Details

This function changes encoding of a vector or data.frame from "utf8" to "cp1251"

Value

reencoded vector or data.frame

Examples

1
str_utf2cp("привет")

bdemeshev/rims documentation built on May 12, 2019, 3:41 a.m.