[
https://issues.apache.org/jira/browse/ARROW-17332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17646775#comment-17646775
]
Dewey Dunnington commented on ARROW-17332:
------------------------------------------
Hmm...how about:
{code:R}
library(arrow, warn.conflicts = FALSE)
#> Some features are not enabled in this build of Arrow. Run `arrow_info()` for
more information.
f <- enc2utf8(tempfile(fileext = "Público"))
write.csv(mtcars, f, row.names = FALSE)
f_latin1 <- iconv(f, "UTF-8", to = "latin1")
mtcars <- read_csv_arrow(f_latin1)
{code}
(That's me trying to replicate what a latin1 string encountered by the R parser
might look like)
> [R] error parsing folder path with accent ('c:/Público') in read_csv_arrow
> --------------------------------------------------------------------------
>
> Key: ARROW-17332
> URL: https://issues.apache.org/jira/browse/ARROW-17332
> Project: Apache Arrow
> Issue Type: Bug
> Components: R
> Reporter: Lucas Mation
> Priority: Major
> Labels: pull-request-available
> Fix For: 11.0.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> I am a user trying the R arrow package on a windows machine.
> To reproduce create a folder name containing a character with Latin accents
> ```
> libary(arrow)
> p <- 'c:/Público'
> b <- read_csv_arrow(p)
> Error: IOError: Failed to open local file 'c:/Público'. Detail: [Windows
> error 5] Access is denied.
> ```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)