Gentoo Archives: gentoo-user

From: Andrew Gaydenko <a@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] converting FLAC tags from Cp1251 to UTF8
Date: Tue, 04 Mar 2008 14:44:55
Message-Id: 200803041744.48162@goldspace.net
In Reply to: Re: [gentoo-user] [OT] converting FLAC tags from Cp1251 to UTF8 by "Aleksey V. Kunitskiy"
1 ======= On Tuesday 04 March 2008, Aleksey V. Kunitskiy wrote: =======
2 > On Tuesday 04 March 2008, Andrew Gaydenko wrote:
3 > > Hi!
4 > >
5 > > There are many inconsistent records in freedb.org db. I mean when,
6 > > say, Cp1251 charset is used instead of UTF8. Say, I have written
7 > > these invalid tags to flac files (with easytag or entagged). How to
8 > > repair tags to make them visible as something useful (i.e. to UTF8)
9 > > insteaf of abracadabra (i.e. from Cp1251)?
10 > >
11 > >
12 > > Andrew
13 >
14 > You can try to export tags from flac, then iconv them and after all
15 > import it back. Will look like this:
16 >
17 > 1. metaflac --export-tags-to=~/some_file.tags --no-utf8-convert
18 > track.flac 2. iconv -f cp-1251 -t utf-8 ~/some_file.tags >
19 > ~/some_file_fixed.tags 3. metaflac --remove-all-tags track.flac
20 > 4. metaflac --import-tags-from=~/some_file_fixed.tags
21 > --no-utf8-convert track.flac
22 >
23 > HTH
24
25
26 Aleksey,
27
28 Aha, I see the idea, thanks!!
29
30
31 Andrew
32 --
33 gentoo-user@l.g.o mailing list