switch str -> unicode