Coerce text values to unicode