unicode support for text in API