[Flac] metaflac --no-utf8-convert complains about UTF

Jan Stary hans at stare.cz
Sun Dec 7 03:30:06 PST 2014


Not sure it this is related, but the UTF conversion from and to
my local charset does not work for me either (the --no-utf8-convert
option is not involved in this).

$ export LC_ALL=ISO8859-2
$ metaflac --remove-all-tags file.flac
$ metaflac --set-tag="TITLE=Žoužlička" file.flac
$ metaflac --list --block-number=2 file.flac
METADATA block #2
  type: 4 (VORBIS_COMMENT)
  is last: false
  length: 59
  vendor string: reference libFLAC 1.3.0 20130526
  comments: 1
    comment[0]: TITLE=#ou#li#ka
$ metaflac --export-tags-to=- file.flac
TITLE=#ou#li#ka

Here is how I understand this: metaflac understood the characters
in --set-tag="TITLE=Žoužlička", because it knows my local charset
is ISO8859-2; metaflac converted that string into UTF8 and stored it
in the Vorbis comment; that's what --list shows me.

But when I --export the tags, metaflac does _not_ convert
the UTF8 comment back to my ISO8859-2 charset.

	Jan



More information about the Flac mailing list