Node name / parameter name sanitization

Is there anyone who knows whether such functions are implemented in the core packages?
If not, what would be the best package to add these functions to?

as you mentioned, rmw does have some functions, but not exposed to client layer.
probably we can have those aligned with rmw_validate_node_name, and bring those up to client layer via rcl as utility functions?

I also found that there is no concrete specification about what characters should or should not be used in parameter names. Something has to be done for this issue too…

true. this could be good enhancement as well.

probably this can be one of the topic in client wg meeting as well, ROS 2 Client Library Working Group [Update]

CC: @clalancette @wjwwood @alsora