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

List:       kde-core-devel
Subject:    Re: Hi, some comments about encoding detection (KEncodingDetector)
From:       "Wang Hoi" <zealot.hoi () gmail ! com>
Date:       2008-08-07 0:55:57
Message-ID: 2c13fc000808061755y148b8b4bo2b15182dc6cbeb88 () mail ! gmail ! com
[Download RAW message or body]

ok, i'll comit it after some more tests.

btw, i don't think use encoding detection to auto detect music files'
tag information is good idea,
information is not enough (only artist, title, album..) , so it will
introduce lots of problems,.
the best method in my opinion is to detect whether it's utf8
encoded(QTextCodec::canEncode etc..),
if not , let user choose a encoding and do encoding detection in this
step to suggest a encoding  to user, then *convert* the encoding of
its tag information to  to utf8
this can be done when user create music collections

maybe a bit off-topic, i really think we'd better use encoding
detection less and wisely, and use utf8 more. at least convert to utf8
after encoding detection.

2008/8/6, Mark Kretschmann <kretschmann@kde.org>:
>
> Sounds great to me. Then we could drop our own copy of the Mozilla
> detector code that we use in Amarok 2.
>
> --
> Mark Kretschmann
> Amarok Developer
> www.kde.org - amarok.kde.org
>
[prev in list] [next in list] [prev in thread] [next in thread] 

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