igorlt
|
2010-11-03
, 00:40
|
Posts: 134 |
Thanked: 31 times |
Joined on Mar 2010
@ Sao Paulo / Brazil
|
#21
|
|
2010-11-03
, 01:02
|
Posts: 356 |
Thanked: 69 times |
Joined on Jan 2010
@ Poland
|
#22
|
|
2010-11-03
, 05:28
|
Posts: 282 |
Thanked: 337 times |
Joined on Dec 2009
@ Austin, TX, USA
|
#23
|
The Following User Says Thank You to rmerren For This Useful Post: | ||
|
2010-11-03
, 05:34
|
Posts: 282 |
Thanked: 337 times |
Joined on Dec 2009
@ Austin, TX, USA
|
#24
|
i cant update via app mang coz conflict with the new firmw updater...i'm still with pr 1.2... so how?? need pr 1.2 ver...thanks
The Following User Says Thank You to rmerren For This Useful Post: | ||
|
2010-11-03
, 20:00
|
Posts: 94 |
Thanked: 17 times |
Joined on Jan 2010
|
#25
|
|
2010-11-05
, 18:57
|
Posts: 282 |
Thanked: 337 times |
Joined on Dec 2009
@ Austin, TX, USA
|
#26
|
QString encodedStatus(QUrl::toPercentEncoding(status,"",""));
|
2010-11-05
, 19:25
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#27
|
I just posted an update...should show up in the repo soon. I fixed the problem with international characters (accented, umlauted, tildefied, etc.) disappearing.
For those that are actually interested in the technical parts (and in case someone searches for this very problem) here are the details:
the facebook graph api allows you to submit status updates (or other feed info) as post data in an HTML request. I was submitting the raw request string, which works great for gringo-speak. But when people whose languages were not simplified by the rough journey across the atlantic ocean tried to use characters with accent marks, these marks would disappear.
The solution was to "percent encode" the string before placing it in the post data. This was done in Qt with the following:
Where status is the plaintext and the resulting encodedStatus is the encoded value to include in the post data.Code:QString encodedStatus(QUrl::toPercentEncoding(status,"",""));
|
2010-11-05
, 19:36
|
Posts: 282 |
Thanked: 337 times |
Joined on Dec 2009
@ Austin, TX, USA
|
#28
|
|
2010-11-06
, 21:23
|
|
Posts: 968 |
Thanked: 663 times |
Joined on Jun 2010
@ Australia (Melbourne/vic) / Lebanon (Zgharta/north)
|
#29
|
|
2010-11-09
, 15:12
|
Posts: 137 |
Thanked: 91 times |
Joined on Jun 2010
|
#30
|