TextEdit: Add utf-8 support, enable paste from clipboard