Bugfix and Improvements on encoding probe

Ian Monroe ian.monroe at gmail.com
Mon Mar 30 01:59:04 UTC 2009


On Sun, Mar 29, 2009 at 9:18 AM, Wang Hoi <zealot.hoi at gmail.com> wrote:
> AFAIK,there is no way to get the original data from taglib,
> since taglib internally use  utf-16(wide char), and conversion seems
> take place when TagLib::String get constructed from
> char*/string/wstring.
>
> We can change the TagLib::String's internal represention to utf-8
> encoded char*, this seems need much work.
>
> Or we can double the storage require for String, store both the raw
> char* and converted wide string....
>
> I've no clues how to implement it.

The fact that QString is LGPL opens an interesting possibility. :)

Ian



More information about the Amarok mailing list