Cleaned up kludgy unicode string normalization.