Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: File renaming bug with converter (Read 3570 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

File renaming bug with converter

Some non-ASCII letters in tags cause deletion of converted files.

Source is an uncompressed .wav file, with cached metadata:

ARTIST=Anúna
TITLE=Maria Matrem Virginem (Maria Virgin Mother)

Target name is %artist%-%title%. LAME 3.97b1 from rarewares was used. Parameters used were -V 4 - %d. lame.exe was in C:\Program Files\foobar2000\cli\, and the full path is mentioned in the converting preset.

---

With tagging turned back on:

When Convert to same directory is used and converting starts, the target filename is not Anúna-Maria Matrem Virginem (Maria Virgin Mother).mp3, but Anuna-Maria Matrem Virginem (Maria Virgin Mother).mp3. When the converting finishes, the file disappears.

---

I see this with 'í' and 'Á' as well.

edit: foobar2000 0.9 beta 8.

Workaround: $ansi(%artist%-%title%)

 

File renaming bug with converter

Reply #1
Unicode handling for output filenames is broken with encoders that don't support unicode themselves. I might add a special workaround for this but it will still break if output path contains non-system-codepage characters in directory names somewhere.
Microsoft Windows: We can't script here, this is bat country.