Skip to content
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

Cannot set working directory with special characters #322

Open
rachelwarnock opened this issue Feb 7, 2023 · 1 comment
Open

Cannot set working directory with special characters #322

rachelwarnock opened this issue Feb 7, 2023 · 1 comment

Comments

@rachelwarnock
Copy link
Contributor

Describe the bug
If a directory has a name with a special character, e.g. contains a letter with an umlaut, rb won't recognise it.

To Reproduce
setwd("/Users/warnock/Desktop/Project/Joël")

Expected behavior
R can handle the above directory name, would be cool if rb could do the same.

Computer info
Which OS are you using? Which version of RevBayes?
Same on Mac (11.7.2) and Windows.
RevBayes version (1.2.1)

Context
Discovered as I'm working with a student who has an "ë" in their name and hence their home directory name. They are not currently able to change this, so we're working around it.

@bredelings
Copy link
Contributor

Good to know! Hmm... I bet this relates to having UTF8-encoded strings for the filename.

So... I just tried this on Linux, and it worked fine. I tried "Joël" and also "的".

Does revbayes return a specific error message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants