On Mon, 27 Aug 2018, Allin Cottrell wrote:
[Y]ou should be very sure what you think might be an R bug really
is an R bug before reporting it, unless you want a roasting!
I'm getting closer to sure. My test involves the string "Anastasia"
spelled out in Greek letters. If I run this by itself through R's
iconv(string, from="utf-8", to="UTF16") it works fine. But if I put
any Roman letters into the string, as in "Anastasia/test" then it
fails, complaining "embedded nul in string". But of course both
UTF-8 and UTF-16 should have no trouble combining Greek and Roman
characters.
Allin