Title: Unicode response Post by: jonb2 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. Title: Re: Unicode response Post by: D.Tkalcec (RTC) 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 Title: Re: Unicode response Post by: jonb2 on February 15, 2012, 12:40:07 PM Thats it. D, your a star always! Thank you.
J Title: Re: Unicode response Post by: jonb2 on February 15, 2012, 12:42:20 PM PS. *you're*
|