cbail / textnets

R package to perform automated text analysis using network techniques
MIT License
210 stars 62 forks source link

fix encoding error in PrepText on Windows systems #24

Open DominikVogel opened 3 years ago

DominikVogel commented 3 years ago

The attempt to remove non-UTF-8 characters from the text data creates problems on Windows machines. If no from encoding is specified in iconv it assumes the system standard. This works on Linux and Mac but not on Windows. If the data is already in UTF-8 the iconv function breaks it.