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.

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