-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
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
Encoding issues on windows #73
Comments
Did you have a look how this is now, with the udunits branch (soon master)? |
I don't think so, because character vectors don't seem to have any encoding by default: y <- "dummy"
Encoding(y)
#> [1] "unknown" Instead, I think that |
R drops the encoding information for ascii only vectors, and only retains the utf-8 encoding marker for strings if necessary |
Also, setting
|
You are right. Then, I would do both things: 1) set the proper encoding according to the locale and 2) apply |
I agree with both your points. |
Posting as an image since GH seems to mangle it differently.
Not sure the best way to fix this. Seems like the easiest fix is for upstream
udunits2
to return strings with the correct Encoding.The text was updated successfully, but these errors were encountered: