Hi, I have the following 2 export actions that run one after another to create a seperate playlist for each artist based on a set of rated tracks loaded into MP3Tag (from a single playlist)
$filename(\NAS\Music\Artist Playlists$if($eql(%albumartist%,Various Artists),$regexp($cutleft(%album%,6),'^(.+?)\s.CD\d.',$1),$regexp(%_folderpath%,'^\\.+?\.+?\.+?\(.+?)\.',$1)) - Rated Tracks.m3u8)#EXTM3U
$filename(\NAS\Music\Artist Playlists$if($eql(%albumartist%,Various Artists),$regexp($cutleft(%album%,6),'^(.+?)\s.CD\d.',$1),$regexp(%_folderpath%,'^\\.+?\.+?\.+?\(.+?)\.',$1)) - Rated Tracks.m3u8)$loop(%_path%)#EXTINF:%_length_seconds%,%artist% - %title%
I am creating .m3u8 playlists as I have a number of artists that have special characters in them e.g. Blue Öyster Cult, Queensrÿche.
When I look at each playlist in Notepad or Notepad++ I see that those without any special characters in them (in artist name, album title or track title) show UTF-8 as the format. However those with special characters (eg the Blue Öyster Cult playlist) show ANSI, but the special characters are shown correctly.
When I then try to import these into iTunes the ANSI ones fail with no tracks loaded - I have to manually convert each one to UTF-8 in Notepad++ before they will import. Those in UTF-8 format (with no special characters) load fine
I have tried this with BOM turned on and turned off (in Options). Same result
Why do some playlists get formatted as UTF8 and others as ANSI, particularly as its not the way round that I would expect. If anything, I would expect those with special characters to be formatted as UTF-8 and those without any special characters to be formatted as ANSI.
However given that the action is generating all the playlists as *.m3u8, I am expecting them all to be assigned the UTF-8 format