You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Filenames with non-ASCII characters get duplicated in tab list #4469
RStudio Edition : Desktop
RStudio Version : 1.2.1328
OS Version : Windows 10
R Version : 3.5.2
I have two files starting with "q" in my working directory: "qääääää.csv" and "q诶 ēi B 比 bǐ C 西.txt". When I try to link to them in my code via typing out the letter q and then pressing tab I get this:
I guess this is two bugs in one:
Both filenames are duplicated
The Chinese one is displayed incorrectly both times.
Out of the 4 only "qääääää.csv" will be read, the other 3 "do not exist in the working directory".
For what it's worth if I straight up run "read_csv("q诶 ēi B 比 bǐ C 西.txt")", I will get "Error: 'q<U+8BF6> ei B <U+6BD4> bi C <U+897F>.txt' does not exist in current working directory". But that and the second "bug" are probably(maybe) incorrect locale setting on my end?
Part of the issue here is simply that list.files() doesn't understand how to list files that contain multibyte characters, and we still use this in some places within the R completion engine.
Activity
kevinushey commentedon Mar 18, 2019
Part of the issue here is simply that
list.files()doesn't understand how to list files that contain multibyte characters, and we still use this in some places within the R completion engine.stale commentedon Feb 5, 2021
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
github-actions commentedon Feb 1, 2022
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
github-actions commentedon Feb 15, 2022
This issue has been automatically closed due to inactivity.