Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 325
Registered: ‎10-01-2012
My Device: Dev Alpha C, Playbook 32 GB
My Carrier: BleskMobil

Data Encoding while receiving InvokeRequest

Hello, 

 

I'm trying to decode data received by InvokeRequest and it does not work for me.

 

I assumed that it is encoded by UTF8 but it seems that it is not.

 

I'm decoding it 

 

QString::fromUtf8(request.data()))

 

but it looks like it does not work (accented data look not converted).

 

Anybody has any idea what is wrong?

--------------------------------------------------------------------------------------------
-- My Blackberry 10 app at http://blackberry.hubalek.net
-- My Android apps at http://android.hubalek.net