Fix wildcarding of unicode strings.

Closes #715.