-
Notifications
You must be signed in to change notification settings - Fork 2
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
utf encoding issue with output from the reference parser #11
Comments
See #9. |
@IsabelMarleen I think we must had a similar problem when using the reference parser in the demes-python test suite (but only in the continuous integration when running on Windows). It turned out to be an issue with Python choosing the encoding for stdout to match the OS-configured locale, which on Windows was utf16 by default. The solution was to call python with the I guess you're using a locale on your computer, for which the default encoding is utf16? Could you try adding the demes-r/tests/testthat/helper-functions.R Line 43 in f484f43
|
Some discussions about encoding here: popsim-consortium/demes-spec#129 |
I tried it just now and it did not make a difference. I ran
Without specifying |
What operating system are you using? |
I'm using macOS. |
The reference parser output for the valid test case
unicode_deme_name_04.yaml
from the demes-spec repo is encoded as utf16, when it should be encoded as utf8.The text was updated successfully, but these errors were encountered: