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

Bridge wstring fields by converting between UTF-16 and UTF-8 #203

sloretz opened this issue May 31, 2019 · 0 comments


None yet
1 participant
Copy link

commented May 31, 2019

Feature request

Feature description

ROS 2 messages have a wstring field that can contain UTF-16 characters. The wstring design article (ros2/design#117) says when bridging a wstring field between ROS 2 and ROS 1 the bridge should attempt to convert UTF-16 to UTF-8 and pass the data as a ROS 1 string type. If the conversion fails then the message should be dropped. The same should be true in the other direction where the bridge should attempt to convert UTF-8 from ROS 1 to UTF-16.

Implementation considerations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.