LAME utf in tags and filenames

אריאל קלגסבלד Ariel Klagsbald <[email protected]>
Newsgroups gmane.comp.audio.mp3.lame
Message-ID <CAOejwRRkzXqk-FrTMnfV0eiDUFxOpOwWS2+6e5KfeqPRVzcmLQ@mail.gmail.com>
Hi.

  Here is an interesting problem: I have an mp3 file, whose filename and
(some of the) tags are UTF8. I try to resample it, and it seems that it
works for UTF8 in either the filename or the tags, but not both.

something like
lame --resample 8 --tl '�©��¢��¨���� �©���¨�¥, �" �©��, �×�©�¢"�' --ty
'2012' --ta '�©��� �����¨��× ����  � ���× ��©� - �¨�� ���¤����¤��������
��©������¨��¥.mp3' '109356-��¨.����×������¤�������� ��©������¨��¥b.mp3'
results in
Could not find "109356-��¨.����×������¤�������� ��©������¨��¥.mp3".
Although the (source) file does exist. Invoking without tags:
lame --resample 8  '109356-�¨.��×���¤���� �©���¨�¥.mp3'
'109356-�¨.��×���¤���� �©���¨�¥b.mp3'

works fine. And so it does (with tags) when I change the filename to
109.mp3:
lame --resample 8 --tl '�©��¢��¨���� �©���¨�¥, �" �©��, �×�©�¢"�' --ty
'2012' --ta '�©��� �����¨��× ����  � ���× ��©� - �¨�� ���¤�� 109.mp3
109b.mp3


It's LAME 3.98.2 64 bits. I thought it might be that the filename and/or
tags contain " or ', and the shell cannot find where the string ends. But
apparently it isn't the problem. I did $filename =~ s/['";,]*//g (it's in a
perl script), and also invoked with only one numeric (non utf!) tag:

lame --resample 8 --ty '2012'  '109356-�¨.��×���¤���� �©���¨�¥.mp3'
'109356-�¨.��×���¤���� �©���¨�¥b.mp3'

and

lame --resample 8 --ty 2012  '109356-�¨.��×���¤���� �©���¨�¥.mp3'
'109356-�¨.��×���¤���� �©���¨�¥b.mp3'

both gave

Could not find "109356-��¨.����×������¤�������� ��©������¨��¥.mp3".

(Hope you can view these weird utf tags). So UTF filenames work without any
tags, and UTF tags work with a non-UTF filename. But unfortunately I need
both...

  Thanks for any help,
Ariel.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lame-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lame-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.