-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
maybe not use unicode characters in yes_no
?
#566
Comments
Okay, I felt we would run into this sooner or later on Windows (macOS and Linux should be fine). The unicode characters seem to work with |
Now it will fall back on |
Thanks ! I observed that : [usethis-create-proj*] > cat("\u25ba")
►
[usethis-create-proj*] > print("\u25ba")
[1] "►"
[usethis-create-proj*] > readline("\u25ba")
<U+25BA>
[1] "" |
Here is the hope: https://developer.r-project.org/Blog/public/2020/07/30/windows/utf-8-build-of-r-and-cran-packages/ This problem has existed for long, e.g. r-lib/evaluate#59 and many other issues that referenced to it. |
Thanks for sharing - I understand now. So many things in the history of your work ! It is really interesting for me to learn all this. Thanks for taking the time to share it with me, ... with my questions and ideas that you already encountered years ago 😅 |
yes_no()
usesreadline()
and it seems to not handle well Unicode characters on Windows at least. (not likecat()
)I got this in R console
Does it print ok for you ? Is this a R console config issue on Windows ?
The text was updated successfully, but these errors were encountered: