RTC Forums
November 24, 2024, 09:53:44 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
Unicode response
Pages: [
1
]
« previous
next »
Print
Author
Topic: Unicode response (Read 4930 times)
jonb2
Newbie
Posts: 36
Unicode response
«
on:
February 15, 2012, 12:13:02 PM »
Hi Danijel
I am getting:
"Gerenciando Blog - O blog para quem tem blog - Dicas de SEO, monetização e serviços" in the response data.
It should be:
"Gerenciando Blog - O blog para quem tem blog - Dicas de SEO, monetização e serviços"
Can RTC handle this correctly ?
J.
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Unicode response
«
Reply #1 on:
February 15, 2012, 12:23:32 PM »
You are getting exactly what was sent, without any conversions. When using TRtcDataRequest/TRtcDataProvider components, you need to apply the appropriate conversion when moving that data into the end-format (like Unicode or Wide String).
From the looks of it, the content you have received is UTF-8 encoded, so you should be able to decode it using the "utf8decode" function from the "rtcInfo.pas" unit, storing the result in a Unicode or Wide String variable.
Best Regards,
Danijel Tkalce
Logged
jonb2
Newbie
Posts: 36
Re: Unicode response
«
Reply #2 on:
February 15, 2012, 12:40:07 PM »
Thats it. D, your a star always! Thank you.
J
Logged
jonb2
Newbie
Posts: 36
Re: Unicode response
«
Reply #3 on:
February 15, 2012, 12:42:20 PM »
PS. *you're*
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...