[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 77710] i18n: ability to choose encoding of tag info
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2004-04-04 17:56:32
Message-ID: 20040404180555.7328.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=77710      




------- Additional Comments From wheeler kde org  2004-04-04 20:05 -------
Ok, and now I'm attaching a small Qt-based program that shows how to override 
the default string encoding.  This one just uses utf8, but I think it's clear 
how one would proceed based on this...

I would also recommend by default (i.e. when ISO-8859-1 is selected) not using 
an external string handler at all since they extra lookups will likely slow 
things down...

- -Scott

On Sunday 04 April 2004 16:42, Scott Wheeler wrote:
> CVS commit by wheeler: 
> 
> Add the ability to override the default ID3v1 string handling in TagLib by
> adding a ID3v1::StringHandler class that has render and parse methods.
> 
> By default this still makes the (correct) assumption that ID3v1 tags contain
> ISO-8859-1 data, but this makes it easy for applications to override this to
> allow user specified codecs.
> 
> CCMAIL:78428 bugs kde org
> CCMAIL:77710 bugs kde org
> CCMAIL:amarok-devel lists sourceforge net
> CCMAIL:Shlomi Loubaton <loubaton.shlomi 012 net il>
> CCMAIL:Nir Misgav <misgav ee bgu ac il>
> 
> 
>   M +34 -10    id3v1tag.cpp   1.23
>   M +47 -0     id3v1tag.h   1.14
> 
> 
> 
> 



Created an attachment (id=5530)
 --> (http://bugs.kde.org/attachment.cgi?id=5530&action=view)
utf8-1.cpp
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic