[Qt-interest] Problem in QString

Sarath sarath at softjin.com
Wed Jul 7 15:29:39 CEST 2010


Hi,

The single-quote apostrophe appears as ? in the sample program. Why does 
this happen ?.

Thanks,
Sarath

On 7/7/2010 6:53 PM, qt-interest-request at trolltech.com wrote:
> Send Qt-interest mailing list submissions to
> 	qt-interest at trolltech.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.trolltech.com/mailman/listinfo/qt-interest
> or, via email, send a message with subject or body 'help' to
> 	qt-interest-request at trolltech.com
>
> You can reach the person managing the list at
> 	qt-interest-owner at trolltech.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qt-interest digest..."
>
>
> Today's Topics:
>
>     1. Re: QAbstractFileEngine problems (Jason H)
>     2. Re: QAbstractFileEngine problems (Jason H)
>     3. Problem in QString interpretation of single-quote closing
>        apostrophe (?) (Sarath)
>     4. Re: QAbstractFileEngine problems (Eric Landuyt)
>     5. Re: Huge memory consumption (Oliver.Knoll at comit.ch)
>     6. Re: QAbstractFileEngine problems (Eric Landuyt)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 7 Jul 2010 05:45:56 -0700 (PDT)
> From: Jason H<scorp1us at yahoo.com>
> Subject: Re: [Qt-interest] QAbstractFileEngine problems
> To: Thiago Macieira<thiago at kde.org>, qt-interest at trolltech.com
> Message-ID:<129149.34123.qm at web65712.mail.ac4.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
> How am I supposed to provide a virtual file system separate from the OS then?
> I'll switch to some other class if I have to.
>
> And you didn't answer my question. What needs to happen to have me write data?
> The file creation on open() happens, but my custom write (const char *, qint64)
> handler never gets called.
>
>
>
>
>
>
> ----- Original Message ----
> From: Thiago Macieira<thiago at kde.org>
> To: qt-interest at trolltech.com
> Sent: Wed, July 7, 2010 2:07:22 AM
> Subject: Re: [Qt-interest] QAbstractFileEngine problems
>
> On Wednesday 7. July 2010 06.55.28 Jason H wrote:
>    
>> I have most of it working, but I have a problem with my write function not
>> being
>>
>> called:
>> DatabaseFileEngineHandler dbFileEngine;
>>      
> Please stop using file engines. They are a feature we want to get rid of.
>
> The reason is that normal, plain file access is extremely complex and slow
> because of the abstractions created by the presence of multiple file engines.
> We are rewriting the QFile / QDir / QDirIterator internals to be faster.
>
> However, this is only possible if you never install file engines. So I
> recommend that you already stop using them in your new programs.
>
>    


Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for  the use  of the  individual or entity  to which they  are  addressed. It
may  contain confidential,  proprietary or legally  privileged  information.
If  you  are  not  the  intended recipient please be advised that you have
received  this  message in error and any use is strictly prohibited. Please
immediately  delete it  and all copies of it from your system, destroy any
hard  copies  of  it and  notify  the  sender  by return mail. You must not,
directly or indirectly, use,  disclose,  distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________





More information about the Qt-interest-old mailing list