-
Notifications
You must be signed in to change notification settings - Fork 37
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 problem with rstudioapi::getActiveDocumentContext()
#28
Comments
I tried to debug the problem and found lines |
Does it help if you manually reset the encoding?
|
A modification of code @kevinushey provided worked:
|
@kevinushey should this be fixed on the R side or elsewhere? If on the R side, I'm happy to do a PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In R Studio editor I selected the following lines of code (pay attention to international symbols):
and pressed "Run" button to run the code. When I printed
context$selection
, the result was:I expected
"ą ž ū ų š č"
instedad of `"ą ž ū ų ŠĨ".Is it possible to make
rstudioapi::getActiveDocumentContext()
to read international symbols correctly?The text was updated successfully, but these errors were encountered: