ry R-4.0.2 next, let's
see what happens.
Cheers
Johannes
> Gesendet: Dienstag, 30. Juni 2020 um 09:25 Uhr
> Von: "Tomas Kalibera"
> An: "Johannes Rauh" , "r-devel"
> Betreff: Re: [Rd] `basename` and `dirname` change the encoding to "UTF-8&
On 6/29/20 4:39 PM, Johannes Rauh wrote:
Dear R Developers,
I noticed that `basename` and `dirname` always return "UTF-8" on Windows
(tested with R-4.0.0 and R-3.6.3):
p <- "Föö/Bär"
Encoding(p)
[1] "latin1"
Encoding(dirname(p))
[1] "UTF-8"
Encoding(basename(p))
[1] "UTF-8"
Is this on p
Did you test with R 4.0.2 or R-devel? A bug related to this issue was
recently fixed:
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17833
Best,
Kevin
On Mon, Jun 29, 2020 at 11:51 AM Duncan Murdoch
wrote:
>
> On 29/06/2020 10:39 a.m., Johannes Rauh wrote:
> > Dear R Developers,
> >
> > I
On 29/06/2020 10:39 a.m., Johannes Rauh wrote:
Dear R Developers,
I noticed that `basename` and `dirname` always return "UTF-8" on Windows
(tested with R-4.0.0 and R-3.6.3):
p <- "Föö/Bär"
Encoding(p)
[1] "latin1"
Encoding(dirname(p))
[1] "UTF-8"
Encoding(basename(p))
[1] "UTF-8"
Is thi
Dear R Developers,
I noticed that `basename` and `dirname` always return "UTF-8" on Windows
(tested with R-4.0.0 and R-3.6.3):
> p <- "Föö/Bär"
> Encoding(p)
[1] "latin1"
> Encoding(dirname(p))
[1] "UTF-8"
> Encoding(basename(p))
[1] "UTF-8"
Is this on purpose? At least I did not find any rele