[ros-users] [Discourse.ros.org] [Next Generation ROS] ROS 2 …

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Chris via ros-users
Date:  
To: ros-users
Subject: [ros-users] [Discourse.ros.org] [Next Generation ROS] ROS 2 alpha8



Hi @k-okada,
    No, you are not missing anything.  You can already pass non-ASCII strings through the string type on ROS2 (and ROS1, for that matter).
    The downsides of the current approach, however, are that the publishers and subscribers don't know the encoding of the data they are sending/receiving.  If you have a system where everything is UTF-8, then things are just fine, but if you might have strings with different encodings, it can be hard to determine which encoding is coming from which source.
    Additionally, C++ has pretty poor support for dealing with Unicode strings.  It would be nice to have ROS2 have better API support for dealing with Unicode.
    All of the above is laid out in this PR: https://github.com/ros2/design/pull/117 .  I am looking for feedback on what parts of this are useful, what kinds of problems people have had with Unicode and ROS1 in the past, etc.  Any feedback you (and others) could provide would be great.







---
[Visit Topic](https://discourse.ros.org/t/ros-2-alpha8/548/16) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>