ZivaVatra/flac2all

when converting to mp3, tags that contain accents are not treated correctly

Closed this issue · 3 comments

What steps will reproduce the problem?
1. Take file with a tag containing some accent (for example é)
2. convert it to mp3


What is the expected output? What do you see instead?
expected output: Tags preserved
real output: example: "Biréli Lagrène" becomes "Bir", "Gérard" becomes "G"

What version of the product are you using? On what operating system?
v3.51





Original issue reported on code.google.com by alexis.s...@gmail.com on 20 Feb 2015 at 6:26

Are you sure your system has the right locale's set, and that both the 
filesystem and shell support UTF8?

As flac2all relies on the shell to pass the correct characters from source to 
destination, if the shell or system does not support Unicode, you will lose 
accents and other special characters. 

Marked this ticket as invalid for the moment, as I don't think it is related to 
flac2all itself. 

Original comment by i...@ziva-vatra.com on 28 Feb 2015 at 6:24

  • Changed state: Invalid
I'm pretty shure my locale is set correctly and I experience no problems when 
converting to ogg instead of mp3. The output of "locale" is

LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

Original comment by alexis.s...@gmail.com on 7 Mar 2015 at 1:30

Ok, that is odd. I have files with accents, and even files in Cyrillic script. 
One of the main reasons I wrote the script to work with utf-8 in the first 
place :)

Do accents/etc... work when converting to other formats, like Vorbis? I ask 
because only for mp3 does flac2all require the shell (and by extension, the 
shell must support utf-8). Vorbis uses a different method that does not rely on 
the shell. 

That way we can hopefully narrow down what it causing your problem. I will run 
some tests here on my files to see how it works. 

Original comment by i...@ziva-vatra.com on 19 Mar 2015 at 10:11