Setting the encoding to UTF-8 (should probably use that as the default but read the value from db)