Fix unicode issue with set_config_item()