ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
According to Python: Removing \xa0 from string?, ordinal \xa0
is a "non breaking space".
That is indeed a unicode character, not an ascii one.
If you copied your example from a website, those can include non-breaking spaces (as those are often used on websites to make sure the browser doesn't affect code example rendering).
I would advise you to rewrite your launch file.
Suspicuous charachters are:
'
and "
)?
)the latter may be surprising, but I've been in situations where it was not a question mark from the ascii range (ie: the "normal" question mark), but a slightly different version, from a unicode table.
Just replace all of those with a text editor and try again.
If your editor supports encoding transformations (ie: wholesale conversion from UTF to ASCII) then you could try those.
2 | No.2 Revision |
According to Python: Removing \xa0 from string?, ordinal \xa0
is a "non breaking space".
That is indeed a unicode character, not an ascii one.
If you copied your example from a website, those can include non-breaking spaces (as those are often used on websites to make sure the browser doesn't affect code example rendering).
I would advise you to rewrite your launch file.
Suspicuous charachters characters are:
'
and "
)?
)the latter may be surprising, but I've been in situations where it was not a question mark from the ascii range (ie: the "normal" question mark), but a slightly different version, from a unicode table.
Just replace all of those with a text editor and try again.
If your editor supports encoding transformations (ie: wholesale conversion from UTF to ASCII) then you could try those.