RTC Forums
November 24, 2024, 12:16:22 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
>
Cyrillic symbols in URL
Pages: [
1
]
« previous
next »
Print
Author
Topic: Cyrillic symbols in URL (Read 4514 times)
sanche
RTC Expired
Posts: 6
Cyrillic symbols in URL
«
on:
October 22, 2013, 10:27:37 PM »
third-party server (UTF8 Form) send request on my server
URL:
http://myserv.com/getinfo?name=
иванов
In DataProvCheckRequest Request.URL get...
http://myserv.com/getinfo?name=
иванов
How do I read the original value? (иванов)
Thanks
Logged
D.Tkalcec (RTC)
Administrator
Posts: 1881
Re: Cyrillic symbols in URL
«
Reply #1 on:
October 23, 2013, 08:09:10 AM »
If it is UTF-8 encoded, then you can use the
Utf8Decode
function from the "rtcInfo.pas" unit to convert UTF-8 encoded string to a Unicode string.
PS. If you need to send Unicode strings, you can use the Utf8Encode function to encode them for transport.
Best Regards,
Danijel Tkalcec
Logged
sanche
RTC Expired
Posts: 6
Re: Cyrillic symbols in URL
«
Reply #2 on:
October 23, 2013, 11:38:28 AM »
I used Utf8Decode function, it's Ok
Thanks
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...