Hi,

This actually looks like a mobility messaging issue rather than a QMF issue. So 
I've dropped the qmf mailing list and added the mobility mailing list.

setPreferredCharsets is intended to allow clients to specify the preferred 
order of charsets (a.k.a codecs) to use when encoding  a message, the default 
is an empty list. Valid charsets/codec are listed by 
QTextCodec::availableCodecs(). (I think utf-8 will normally be used as a fall 
back).

If a message with umlauts is not being encoded correctly that's a bug. It could 
help if details are listed about the environment (platform etc.), what type of 
message is being sent (e.g. sms, email), what part of the message isn't being 
encoded correctly (e.g. subject, or body) and what version of mobility is being 
used.

Please note I see a possibly related bugfix listed in the mobiliyt 1.1.0 
changelog
 Fremantle, fix Scandinavian characters not correctly handled in SMS, 
MOBILITY-1362

Kind regards,
Don Sanders

On 2010-10-30T01:10:40, ext Robin Burchell wrote:
> 
>   On 10/29/2010 03:16 PM, [email protected] wrote:
> > Hi,
> >
> > with your tips I got utf8 stuff working all around the application except 
> > QMessage. Sending and other qmessage- stuff is working well but umlauts are 
> > in wrong charset when sending. What is supposed to be output for those 
> > preferredCarsets? They return only blank line.
> >
> >        mesitsi = QMessage()
> >        ...
> >        print mesitsi.preferredCharsetFor(msgstring)
> >        print mesitsi.preferredCharsets()
> >
> > and print msgstring outputs umlauts correctly. Should I just try converting 
> > the string to random format that is supported by QMessage?
> >
> > Thanks in advance!
> >
> > Ossipena / Timo P
> 
> Forwarding this to the QMF list, since I guess it's related. :)
> _______________________________________________
> Qt-qmf mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-qmf
> 


_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to