api/units: correct valid chars for unit names

![img](http://gifrific.com/wp-content/uploads/2012/05/Bubbles-trailer-park-boys-eyes.gif)