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

List:       koffice
Subject:    Re: Unicode in KWord/KOffice
From:       weis () stud ! uni-frankfurt ! de
Date:       1999-04-20 19:46:20
[Download RAW message or body]

Hi

On Mon, 19 Apr 1999, Reginald Stadlbauer wrote:

> Hi!
> As I'm using QChar as basetype of KWord's string class now, KWord should now
> support Unicode (is this correct?)
> 
> But: How does this look like for saving/loading text now. Currently I'm using
> something similar to QString::ascii() to get the text, which should be saved.
> So this means that KWord doesn't save the text unicoded now. But how should we
> do that. How can I pass a unicoded string (array of QChar) to a ostream (we are
> using this for saving at the moment). Or should we maybe use the Qt stream
> classes for saving/loading in KOffice now?

We need to save un UTF8 format. Warwick: How can I read/write UTF8 
from/to QString ?

> I hope somebody has some ideas here. I'm really not an unicode expert as you
> can see.

But Warwick is luckily :-)

Bye
Torben

> Ciao, Reggie
> 
> --
> *************************************
> Reginald Stadlbauer
> Pfarrweg 8c, A-8010 Graz,
> Austria (Europe)
> 
> E-Mail: reggie@kde.org
> 
> Homepage: http://htualpha.tu-graz.ac.at/reggie
> 
> Telematik Student an der TU-Graz
> EDV-Sachbearbeiter an der HTU-Graz
> KDE fan and developer :-)
> 
> 

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

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