-project.org
Subject: Re: [Rd] Possible encoding bug in sub()
>>>>> Korpela Mikko (MML)
>>>>> on Sat, 8 Dec 2018 18:42:30 + writes:
> I noticed that sub() gives unexpected results for the following test
> case. In the test case, the (initial) input
> Korpela Mikko (MML)
> on Sat, 8 Dec 2018 18:42:30 + writes:
> I noticed that sub() gives unexpected results for the following test
> case. In the test case, the (initial) input is ASCII but the
> replacements are UTF-8. The first sub() produces an UTF-8 result with
I noticed that sub() gives unexpected results for the following test
case. In the test case, the (initial) input is ASCII but the
replacements are UTF-8. The first sub() produces an UTF-8 result with
an "unknown" Encoding. This makes the result garbled in Windows (no
UTF-8 locale there). The second