surveydata (version 0.2.3)

fix_common_encoding_problems: Fix common encoding problems when working with web imported data.

Description

This function tries to resolve typical encoding problems when importing web data on Windows. Typical problems occur with pound and emdash (-), especially when these originated in MS-Word.

Usage

fix_common_encoding_problems(x, encoding = localeToCharset())

Arguments

x

A character vector

encoding

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

See Also

Other Functions to clean data: encToInt, fix_levels_01_spss, has_dont_know, intToEnc, leveltest, remove_all_dont_know, remove_dont_know