Implement UTF8-MAC transcoding.