set str as unicode as in python3; same for chr