Comment 0 for bug 633319

Revision history for this message
Chris Wagner (chris-wagner) wrote :

E.g., things will break if trying to download a track by Sigur Rós.

The problem seems to be that the JSON file does not get saved in the UTF-8 encoding... Or perhaps the JSON is string is supposed to be escaped -- e.g., the relevant portion should look like this:
  "artist": "Sigur R\u00f3s"

That is how the webapp serves up the JSON, anyhow.

But the problem occurs when the satellite tries to read back in that JSON:
  IO error occurred when trying to download file: /home/user/.resonate/satellite/queue/resonate-site/track-23234: hGetContents: invalid argument (Invalid or incomplete multibyte or wide character)