Sonos not supporting Unicode UTF-8 (or any other UTF variant), only ASCII/ANSI
Hello,
Over the past years, I have managed all my music using iTunes, i.e. converting albums to the proper format and creating playlists. During all those years, I had to convert the playlists (the m3u files) from the Unicode UTF-8 encoding to ASCII/ANSI (this is the default Windows Encoding) coding since the Sonos players do not support UTF8. This is a multi-step process which is very prone to errors (don’t ask me why since this shouldn’t be necessary at all).
ASCII is well and truly dead and buried. See this quote from https://answers.yahoo.com/question/index?qid=20100927014115AAiRExF:
"Nowadays both ASCII and ANSI character sets are most effectively obsolete as we now have Unicode which currently provides 107,156 characters in a single character set and is expanding. See http://www.unicode.org/charts/ ." Other sites with similar wording can be found.
My question is: when do you, Sonos, finally change the software of the players (I have two, the Connect and the Connect:Amp) so that they do accept playlists in the Unicode-UTF8 encoding? And without being too picky on whether or not each line is ending with either CR/LF/CRLF (Carriage Return / Line Feed)? Other players, like the Samsung crap and Logitech junk are not picky at all when it comes to which character set is used (tested both...).
So please, please, please, forward this to the software development and ask them to implement this.
Thank you in advance.
With kind regards,
Sjoerd Herder
ps1:
Just a short answer on the “why” (of the first paragraph of this message).
The Unicode UTF8 encoding for characters like ë and á (just to name 2 out of the many) are not properly recognised by ASCII/ANSI systems.
Since iTunes exports its playlists in the Unicode UTF-8 (with CR) encoding, the playlists have to be converted to ASCII/ANSI with CRLF to get them to work on Sonos components
The message generated by the Apple OSX controller:
What it looks like in the playlist file:
The file on the share:
ps2:
This is what I have to do to get the playlists compatible with Sonos (step E is not to solve the encoding issue, this is needed since the playlist iTunes generates refers to the files on the computer, whereas I need it to point to the files on the share):
A.
Save the playlists from iTunes in folder “01_iTunes”, as M3U files.
B.
Open all playlists in TextEdit.
Hit CMD-SHFT-S to create a duplicate.
C.
Move this duplicate to folder “02_Western”.
Save it with “Western (Windows Latin 1)” encoding.
You do this by going to “File->Move To…”or hit CTRL-OPT-CMD-M
D.
Copy all playlists in folder “02_Western” to folder “03_FixedURL”.
E.
Open all playlists in folder “03_FixedURL” in BBEdit.
Replace the following:
/Volumes/Personal SSD/iTunes/iTunes Media/Music/
With:
//192.168.0.40/VAULT/Media/Music/
Do this as a multi-file search-and-replace (SHFT-CMD-F)
Save these fixed playlists.
F.
Copy all playlists in folder “03_FixedURL” to folder “04_FixedEOL”.
G.
Open all playlists in folder “04_FixedEOL” in BBEdit.
Do a “Save As” (SHFT—CMD-S) and change the end-of-line parameter to CRLF.
H.
Copy files to folder “05_Current” and to the appropriate folder on the share.
I.
Update the music library of the Sonos system.
Over the past years, I have managed all my music using iTunes, i.e. converting albums to the proper format and creating playlists. During all those years, I had to convert the playlists (the m3u files) from the Unicode UTF-8 encoding to ASCII/ANSI (this is the default Windows Encoding) coding since the Sonos players do not support UTF8. This is a multi-step process which is very prone to errors (don’t ask me why since this shouldn’t be necessary at all).
ASCII is well and truly dead and buried. See this quote from https://answers.yahoo.com/question/index?qid=20100927014115AAiRExF:
"Nowadays both ASCII and ANSI character sets are most effectively obsolete as we now have Unicode which currently provides 107,156 characters in a single character set and is expanding. See http://www.unicode.org/charts/ ." Other sites with similar wording can be found.
My question is: when do you, Sonos, finally change the software of the players (I have two, the Connect and the Connect:Amp) so that they do accept playlists in the Unicode-UTF8 encoding? And without being too picky on whether or not each line is ending with either CR/LF/CRLF (Carriage Return / Line Feed)? Other players, like the Samsung crap and Logitech junk are not picky at all when it comes to which character set is used (tested both...).
So please, please, please, forward this to the software development and ask them to implement this.
Thank you in advance.
With kind regards,
Sjoerd Herder
ps1:
Just a short answer on the “why” (of the first paragraph of this message).
The Unicode UTF8 encoding for characters like ë and á (just to name 2 out of the many) are not properly recognised by ASCII/ANSI systems.
Since iTunes exports its playlists in the Unicode UTF-8 (with CR) encoding, the playlists have to be converted to ASCII/ANSI with CRLF to get them to work on Sonos components
The message generated by the Apple OSX controller:
What it looks like in the playlist file:
The file on the share:
ps2:
This is what I have to do to get the playlists compatible with Sonos (step E is not to solve the encoding issue, this is needed since the playlist iTunes generates refers to the files on the computer, whereas I need it to point to the files on the share):
A.
Save the playlists from iTunes in folder “01_iTunes”, as M3U files.
B.
Open all playlists in TextEdit.
Hit CMD-SHFT-S to create a duplicate.
C.
Move this duplicate to folder “02_Western”.
Save it with “Western (Windows Latin 1)” encoding.
You do this by going to “File->Move To…”or hit CTRL-OPT-CMD-M
D.
Copy all playlists in folder “02_Western” to folder “03_FixedURL”.
E.
Open all playlists in folder “03_FixedURL” in BBEdit.
Replace the following:
/Volumes/Personal SSD/iTunes/iTunes Media/Music/
With:
//192.168.0.40/VAULT/Media/Music/
Do this as a multi-file search-and-replace (SHFT-CMD-F)
Save these fixed playlists.
F.
Copy all playlists in folder “03_FixedURL” to folder “04_FixedEOL”.
G.
Open all playlists in folder “04_FixedEOL” in BBEdit.
Do a “Save As” (SHFT—CMD-S) and change the end-of-line parameter to CRLF.
H.
Copy files to folder “05_Current” and to the appropriate folder on the share.
I.
Update the music library of the Sonos system.
This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
