Fix UTF-8, add matrix transforms