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

Fix UTF8 reading. #83

Merged
merged 1 commit into from
Dec 1, 2023
Merged

Fix UTF8 reading. #83

merged 1 commit into from
Dec 1, 2023

Conversation

clalancette
Copy link
Contributor

@clalancette clalancette commented Nov 8, 2023

Do this by opening files in binary mode, which will allow the XML parser to convert to UTF-8 if it is specified.

This should fix #82

Do this by opening files in binary mode, which will allow
the XML parser to convert to UTF-8 if it is specified.

Signed-off-by: Chris Lalancette <[email protected]>
@traversaro
Copy link
Contributor

Thanks a lot @clalancette ! fyi @CarlottaSartore

@clalancette clalancette merged commit 7ca2810 into ros2 Dec 1, 2023
4 checks passed
@clalancette clalancette deleted the clalancette/fix-utf8-reading branch December 1, 2023 19:12
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

Successfully merging this pull request may close these issues.

Parsing with display_urdf a URDF file with the encoding indicated in the xml header
3 participants