fix reading unicode strings from wire