[ros-users] [Discourse.ros.org] [Client Libraries] Python3 a…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Kartik Mohta via ros-users
Dato:  
Til: ros-users
Emne: [ros-users] [Discourse.ros.org] [Client Libraries] Python3 and strings


Yes you're right, that statement doesn't seem to be correct.

As per your recommendation, I think mentioning utf-8 string as the serialization type would be fine (though not sure if that is the right thing with the C++ client library), but it would be better to use/recommend the str type for Python2 since there is no automatic decoding into a unicode string for Python 2. So it would just be type str for both Python 2 and 3.





---
[Visit Topic](https://discourse.ros.org/t/python3-and-strings/2392/6) 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>