Rockbox General > Rockbox General Discussion
Playlist trouble with UTF8
APz:
Many of the files in my iRiver H120 have scandinavian letters (ä, ö and å) in the filenames. They are mostly encoded latin-1, but some are UTF-8. I've noticed, that I can't add files with latin-1 encoded scands in their names. After trying to play those files, they seem to have utf-8 encoded names in the playlist and (ERR) before the filename. Is this a known problem?
bluebrother:
--- Quote from: APz on October 12, 2007, 11:43:29 AM ---Many of the files in my iRiver H120 have scandinavian letters (ä, ö and å) in the filenames. They are mostly encoded latin-1, but some are UTF-8.
--- End quote ---
This is not possible. VFAT uses UCS-2 to encode the filenames, you can't simply use utf8. If you have different encodings for the filenames something is for sure broken with the filenames.
--- Quote --- I've noticed, that I can't add files with latin-1 encoded scands in their names. After trying to play those files, they seem to have utf-8 encoded names in the playlist and (ERR) before the filename. Is this a known problem?
--- End quote ---
Rockbox creates playlists using utf-8. Those playlists get the extension "m3u8". The format is identical to m3u but it uses utf-8 encoding. If you create playlists on the PC make sure to either create them using utf-8 and use the extension m3u8 or create them using latin-1 and set the codepage setting in Rockbox to latin-1 (and use the file extension m3u).
APz:
--- Quote ---Rockbox creates playlists using utf-8. Those playlists get the extension "m3u8". The format is identical to m3u  but it uses utf-8 encoding. If you create playlists on the PC make sure to either create them using utf-8 and use the extension m3u8 or create them using latin-1 and set the codepage setting in Rockbox to latin-1 (and use the file extension m3u).
--- End quote ---
I've now set the codepage in Rockbox to Latin1. Still, when I add files to playlist, they won't play and have "(ERR)" before their filenames, and the names show raw utf-8 characters in Rockbox's "view playlist" list.
The interesting part is, that you can play those files if you just select a file from a directory and just play it; but if I add files to the playlist that was generated by the previous action, the newly added files show the raw UTF-8 characters and won't play.
bluebrother:
--- Quote from: APz on October 13, 2007, 02:06:18 PM ---I've now set the codepage in Rockbox to Latin1. Still, when I add files to playlist, they won't play and have "(ERR)" before their filenames, and the names show raw utf-8 characters in Rockbox's "view playlist" list.
--- End quote ---
errr ... how exactly did you create that playlist? If I understand correctly you did that on the player and not the PC or have I understood it wrong?
APz:
--- Quote from: bluebrother on October 13, 2007, 07:01:43 PM ---
--- Quote from: APz on October 13, 2007, 02:06:18 PM ---I've now set the codepage in Rockbox to Latin1. Still, when I add files to playlist, they won't play and have "(ERR)" before their filenames, and the names show raw utf-8 characters in Rockbox's "view playlist" list.
--- End quote ---
errr ... how exactly did you create that playlist? If I understand correctly you did that on the player and not the PC or have I understood it wrong?
--- End quote ---
I used only the player itself.
Here's a quick way to reproduce the problem:
Have a directory with just couple of files in it, every file having atleast one scandinavian letter in their names.
1) Open the file browser, select one of the songs. Rockbox will ask if I want to lose the dynamic playlist, I hit the navi-button and the song starts to play.
2) I enter the file browser again, select the very same song I selected earlier, hold the navi button on it for a longer time to get the context menu. I then select playlist and insert to playlist.
Now I have a playlist, with the same same song twice, except the first attempt works and the latter won't.
This was the main "WTF"-moment for me :)
Navigation
[0] Message Index
[#] Next page
Go to full version