Bug 123828 - Akregator support for windows-1251 encoding
Summary: Akregator support for windows-1251 encoding
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: akregator (show other bugs)
Version: 1.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: aKregator haxx0rz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-18 06:34 UTC by Sultanbek Tezadov
Modified: 2006-03-18 18:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sultanbek Tezadov 2006-03-18 06:34:51 UTC
Version:           1.2 (using KDE 3.5.1 Level "a" , SUSE 10.0 UNSUPPORTED)
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.13-15.8-default

The following URL opens fine in Konqueror (displayed correctly in Russian):
http://www.hpc.ru/exp/hpcru_news.rss
But when added to Akregator, it's not readable (incorrect encoding). Looks like Akregator doesn't support windows-1251 encoding:
<?xml version="1.0" encoding="windows-1251"?>
Comment 1 Frank Osterfeld 2006-03-18 10:41:16 UTC
Works flawlessly here, both with Akregator 3.5.0 and current SVN (3.5.2). (Well using KHTML from 3.5.2 both times).
Maybe it's a font problem? Do you use a different font in Akregator than in Konqueror, one that has problems with cyrillic characters?
Comment 2 Sultanbek Tezadov 2006-03-18 16:44:44 UTC
The following feed in Russian displays fine in Akregator:
http://ru.gizmodo.com/rss20.xml
I guess because of the encoding:
<?xml version="1.0" encoding="utf-8"?>
This doesn't seem to be a font issue.
Comment 3 Frank Osterfeld 2006-03-18 17:06:00 UTC
Encoding is handled by Qt's XML parser. Which Qt version do you use?
Comment 4 Sultanbek Tezadov 2006-03-18 17:34:59 UTC
sultan@linux:~/my/tmp> rpm -q --info qt3
Name        : qt3                          Relocations: (not relocatable)
Version     : 3.3.5                             Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release     : 28                            Build Date: Срд 01 Фев 2006 06:20:40
Install date: Чтв 09 Мар 2006 15:53:06      Build Host: f142.suse.de
Group       : System/Libraries              Source RPM: qt3-3.3.5-28.src.rpm
Size        : 8165828                          License: Other License(s), see package, QPL
Signature   : DSA/SHA1, Срд 01 Фев 2006 06:29:31, Key ID a84edae89c800aca
Packager    : http://www.suse.de/feedback
URL         : http://www.trolltech.com/
Summary     : A library for developing applications with graphical user interfaces
Description :
Qt is a program library for developing applications with graphical user
interfaces. It allows you to rapidly develop professional programs. The
Qt library is available not only for Linux but for a great number of
Unices and even for Windows. Thus it is possible to write programs that
may be easily ported to those platforms.

You need a license for using Qt with a non-GPL application, which can
be acquired from sales@trolltech.com.

See /usr/share/doc/packages/qt3 for details about the new features of
the current Qt library!



Authors:
--------
    Troll Tech AS, Norway
Distribution: SuSE Linux 10.0 (i586)
sultan@linux:~/my/tmp>   
Comment 5 Sultanbek Tezadov 2006-03-18 18:08:18 UTC
I've just checked on a newer SUSE 10.1 b6 installation and everything works fine. I guess something wrong with my SUSE 10.0 with KDE updated to 3.5.1.

KDE Version  1.2.1 (KDE 3.5.1 Level "a" , SUSE 10.0.42)
1  Application  KDE feed aggregator
1  Operating System  Linux (i686) release 2.6.16-rc5-git2-2-default
1  Compiler  Target: i586-suse-linux