removed strip_unicode function