From koffice-devel Thu Apr 15 10:21:36 2004 From: Nicolas Goutte Date: Thu, 15 Apr 2004 10:21:36 +0000 To: koffice-devel Subject: Re: Faster saving Message-Id: <200404151221.40692.nicolasg () snafu ! de> X-MARC-Message: https://marc.info/?l=koffice-devel&m=108202486230613 On Thursday 15 April 2004 08:56, David Faure wrote: > On Thursday 15 April 2004 08:49, Thomas Zander wrote: > > > - see if using UTF-16 instead of UTF-8 with QTextStream brings any > > > advantage > > > > Worth a try; but IIRC the Qt classes use UTF-8 internally which makes me > > doubt a big difference. > > man qchar !! > Qt uses Utf-16 internally. > Utf-8 requires conversion. > > Anyway, the standard for XML files is utf-8 so we should stick to that > (who was talking about private variants here? :-) There is a difference. Here were are talking about UTF-16. Each XML parser must support it along UTF-8. Also these are autosaved files, so private to KOffice, not meant to be distributed. > > I'll do some experiments with a werner-like idea of an API for saving > today, hopefully. Stay tuned. Have a nice day! _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org https://mail.kde.org/mailman/listinfo/koffice-devel