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

Open
sloretz opened this issue May 31, 2019 · 0 comments
Open

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

sloretz opened this issue May 31, 2019 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@sloretz
Copy link
Contributor

sloretz 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

@sloretz sloretz added enhancement New feature or request help wanted Extra attention is needed labels May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant