add UTF8 support to protocols