| Summary: | Collection scan fails because of wrong encoding | ||
|---|---|---|---|
| Product: | [Applications] amarok | Reporter: | Alex Chmyr <achmyr> |
| Component: | general | Assignee: | Amarok Bugs <amarok-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.3.3 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Sorry. Ive puted wrong Platform. The platfrom is FC but I've used src tarball. |
Version: 1.3.3 (using KDE KDE 3.4.0) Installed from: Fedora RPMs OS: Linux I have some music files which have name with Cyrrilic symbols under my UTF8 locale. When Im start scanning, output gets taglib error, something like `TagLib: Could not open file /home/data/mp3/ÐлиÑа/1996 - Jazz/ТеаÑÑ.MP3'. And of course file skips from collection. I find out problem.I have never programming on QT, but I've fixed this. The problem is in `amarok/collectionreader.cpp' function `void CollectionReader::readTags' I'll give you my fix, and you can change it anyhow for normal sourceview: ---- QCString ent1 = it.current(); const QString path = QString::fromLocal8Bit(ent1); ---- instead of ---- const QString path = it.current(); ---- there wasn't locale conversion. Thanks.