qmessage and utf8

2010-10-29 Thread peltsip
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
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: qmessage and utf8

2010-10-29 Thread Robin Burchell

 On 10/29/2010 03:16 PM, pelt...@gmail.com 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. :)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers