[Fedora-trans-ar] Re: Arabic issue #24: QTextBrowser doesn't care about the page encoding.

Munzir Taha munzirtaha at newhorizons.com.sa
Mon Mar 7 22:12:24 UTC 2005


On Yaum al-Ithnain 26 Muharram 1426 09:20, Simon Hausmann wrote:
> On Monday 07 March 2005 05:28, Munzir Taha wrote:
> > System: Linux 2.6.10-1mdk i686 AMD Athlon(tm) 64 Processor 3200+
> > GNU/Linux Qt: 4.0.0-b2-snapshot-20050306
> >
> > CODE:
> >
> >     QTextBrowser *w = new QTextBrowser(0);
> >     w->setSource(QDir::currentPath() + "/index.xml");
> >
> >
> > The index.xml page looks like this:
> >
> > <?xml version="1.0" encoding="utf-8"?>
>
> This syntax is currently not supported.

What's the supported xml syntax? I know qtextbroswer is just a basic class for 
displaying web pages but I also believe this is a basic feature ;)

> > I also tried it with an html page with a header like this:
> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=utf-8">
>
> This one certainly works. Your example modified to the one below and called
> in assistant it displays correctly for me:

> What was the html page with the <meta> header you were trying that didn't
> work?

Sorry it's my mistake. It's working now. Thanks.

-- 
Munzir Taha  PGP Key available
gpg --recv-keys --keyserver www.mandrakesecure.net F0671821

Telecommunications and Electronics Engineer
Mandrake Club Member
Maintainer of the OpenBugs Wiki page at
http://arabic-fedora.org/
Maintainer of Fedora Arabic Translation Project
https://listman.redhat.com/mailman/listinfo/fedora-trans-ar
CIW Designer, ICDL, MOUS, Linux+, LPI 101
New Horizons CLC, Riyadh, SA




More information about the Fedora-trans-ar mailing list