Remove encoding kwarg from ustring

Fixes #18458 
Refs #18374