You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R's handling of native text is buggy on Windows. Specifically, R marks all Windows-1252 text as Latin-1. This causes problems when converting from marked "latin1" strings to "UTF-8": bytes in the range 0x80 to 0x9F get translated as U+0080 to U+009F. See, for example, the input string "You don‘t get “your” money’s worth":
R's handling of native text is buggy on Windows. Specifically, R marks all Windows-1252 text as Latin-1. This causes problems when converting from marked "latin1" strings to "UTF-8": bytes in the range 0x80 to 0x9F get translated as U+0080 to U+009F. See, for example, the input string
"You don‘t get “your” money’s worth"
:More context: https://stat.ethz.ch/pipermail/r-devel/2017-September/074908.html
You can work around this bug by interpreting
CE_LATIN1
as Windows-1252 on Windows. Feel free to copy code from https://github.com/patperry/r-utf8/blob/master/src/util.c#L59The text was updated successfully, but these errors were encountered: