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

List:       kde-devel
Subject:    Re: Converting QStrings Latin1/utf8
From:       "Mark A. Taff" <marktaff () comcast ! net>
Date:       2007-03-27 20:54:37
Message-ID: 200703271354.37625.marktaff () comcast ! net
[Download RAW message or body]

On Tuesday 27 March 2007 10:46:48 Thiago Macieira wrote:
> Tobias G. Pfeiffer wrote:
> >It is read by Qt DOM using setContent(), I suppose, but that doesn't
> > make transparent changes to the file you opened (how could it?).
>
> That depends which overload of setContent is being used. If you call the
> QString version, you must have already properly detected the encoding.
>
> If you call the other overloads, it'll detect the encoding.

I am using the QIODevice version of setContent(), so I think I am OK on the 
reading end, then.

Thanks,

Mark
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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