added :external-format :utf8 on the string-to-octets call