We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Because processx assumes that they are in UTF-8. R 4.0.2, Windows 10:
ASCII app:
local_temp_dir() name <- enc2native("\u00fa\u00e1\u00f6") out <- run(get_tool("px"), c("writefile", "of", name)) expect_equal( charToRaw(name), readBin("of", what = "raw", n = 100) ) #> Error: charToRaw(name) not equal to readBin("of", what = "raw", n = 100). #> 3 element mismatches
Unicode app:
out2 <- run(get_tool("pxu"), c("writefile", "of2", name)) expect_equal( iconv(name, to = "UCS-2LE", toRaw = TRUE)[[1]], readBin("of2", what = "raw", n = 100) ) #> Error: iconv(name, to = "UCS-2LE", toRaw = TRUE)[[1]] not equal to readBin("of2", what = "raw", n = 100). #> 6 element mismatches
The text was updated successfully, but these errors were encountered:
Closed by #265.
Sorry, something went wrong.
No branches or pull requests
Because processx assumes that they are in UTF-8. R 4.0.2, Windows 10:
ASCII app:
Unicode app:
The text was updated successfully, but these errors were encountered: