Define and use unicode_type