Support Unicode in grains output.

Closes #12611