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

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

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

SHI.ZP gravatar image

Hi,

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?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Stats

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

Seen: 340 times

Last updated: Apr 26 '16