-
Notifications
You must be signed in to change notification settings - Fork 130
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
Error: 'charmap' codec can't decode byte 0x8f in position 156 #388
Comments
This sounds little bit like ros2/system_tests#362 (comment) . Maybe |
Maybe it's kind of Python version of it. |
Any generated source file which contains non-ASCII characters (coming from e.g. default values in the interface file) needs to include a BOM. |
I misread the description and comments and assumed the problem was in generated C / C++ code. Since this actually happens when reading the interface file I think #390 should be sufficient to resolve your problem. @minggangw please comment here if it addressed your problem. |
Reopening since there are follow up issues when using non-ASCII character in e.g. default values:
|
With all PRs rebased to address other unrelated test failures I triggered an full round of CI builds to double check for regressions:
|
This problem is fixed, I verified it on https://ci.appveyor.com/project/minggangw/rclnodejs/builds/26335124, thanks! |
Until the list of pending PRs is merged we will keep this ticket open. |
I disabled one case which doesn't seem to work cross vendor: ros2/system_tests@5d100b6 Hopefully the final round of CI: |
Bug report
Required Info:
Steps to reproduce issue
Pass the path of WStrings.msg as the parameter of Python method parse_message_file
Expected behavior
Execute successfully
Actual behavior
Error: 'charmap' codec can't decode byte 0x8f in position 156: character maps to
Additional information
Thanks!
The text was updated successfully, but these errors were encountered: