| Summary: | Wish: Juk should support changing fonts and encodings | ||
|---|---|---|---|
| Product: | [Applications] juk | Reporter: | Sonyu Chen <u911818> |
| Component: | general | Assignee: | Scott Wheeler <wheeler> |
| Status: | ASSIGNED --- | ||
| Severity: | wishlist | CC: | rakuco |
| Priority: | NOR | ||
| Version First Reported In: | 2.0 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | utf8.cpp | ||
|
Description
Sonyu Chen
2004-03-25 08:56:00 UTC
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 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=5529)
utf8.cpp
I'm just confirming the locale part of things -- for the moment I don't intend to make the font configurable. |