ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Dose the rviz View-Oriented Text support UTF-8 caption?

asked 2016-04-25 22:26:13 -0600

SHI.ZP gravatar image


I'd like to display some text markers with Chinese characters in rviz.

So I tried:

marker.text  = text.encode('UTF-8')

and the marker.text therefor in the u'\u5b57\u8282' form.

But nothing pop out.

Any suggestion to make it work?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-26 00:27:29 -0600

ahendrix gravatar image

No, rviz does not handle UTF-8 text. It only handles a portion of the ASCII character set.

There is an open ticket for this on the rviz bug tracker.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-04-25 22:26:13 -0600

Seen: 321 times

Last updated: Apr 26 '16