We can see that each area/file is using a different character. Pájaros vs. Pßjaros vs. Pájaros (which of these is correct?). We know this is the issue but not why.
Pájaros [birds], is correct.
Here are things you could test:
1. try the "basic" layout in AttractMode (yours looks custom and it could be something in your layout.nut)
Basic layout, from AM, with any modification is the example of images above:
2. do you have the same issues with game roms or just these songs? (i.e. show us entries of a romlist.txt that was created by AM and not your script and let us know if it works properly)
The romlist is not generated by AM, I generate them myself with this code:
set musicfolder=F:\JukeBox
set output=E:\arcade\sistemas\pinballs\jukebox\roms
set screenshots=E:\arcade\sistemas\pinballs\jukebox\wheel
set musiclist=E:\arcade\attract\romlists
:: temporarily change console codepage to UTF-8 (with this it reads the title well and does not read the wheel)
REM >NUL chcp 65001
:: temporarily change console codepage to ANSI (with this it reads the wheel well and misreads the title)
REM >NUL chcp 1252
:: borrar listas antiguas
del "%output%\*.*" /Q
del "%screenshots%\*.*" /Q
del "%musiclist%\Jukebox.txt" /Q
>NUL chcp 65001
:: crear listas de musicas
for /f "tokens=*" %%a in ('dir "%musicfolder%" /ad /b ') do dir /s /b "%musicfolder%\%%a\*.ogg" "%musicfolder%\%%a\*.m4a" "%musicfolder%\%%a\*.wma" "%musicfolder%\%%a\*.mp3" >> %output%\%%a.m3u
>NUL chcp 65001
:: copiar imagenes a la carpeta screenshots
for /f "tokens=*" %%a in ('dir "%musicfolder%" /ad /b ') do xcopy "%musicfolder%\%%a\*.jpg" "%screenshots%\%%a.jpg*" /Y
>NUL chcp 1252
:: crear Jukebox.txt
for %%i in ("%output%\*.m3u") do @echo %%~ni;%%~ni;Jukebox;;;;;;;;;;;;;; >> "%musiclist%\Jukebox.txt"
With this above code, it only reads badly the song data with
fe.game_info (Info.Title)
Everything else, read wheels, m3u, from the disk, does it right. If I change it, it fails more. And if AM generates it, even worse.
3. from the console/command line do a "dir" on your rom folder and your artwork folder. also do an "echo" on the romlist. do these show the same correct characters here on the windows command line (outside of AM)
4. i know when I setup a Linux based OS I tell it to use EN_US_UTF-8. If I use EN_UK_UTF-8 most of my keys work properly but some don't work such as "$" since they are specific to the region. I don't remember ever needing to specify anything that specific in windows but I'm from the US and speak english which are both defaults for windows. you might check this out (I don't know if it's accurate) https://stackoverflow.com/questions/1677655/charset-for-spanish-windows.
I already did both, and that's why I use "chcp"
P.S. I see you have mentioned compiling AM in this thread http://forum.attractmode.org/index.php?topic=2278.0. Are you using an official AM download or one you or somebody else compiled? Have you tested your issue with older versions of AM?
My attract.exe is modified, but my attract_console.exe is the last version official. I use both indistinctly, and the result is always the same.