a kludge to force valid unicode