Answer the question
In order to leave comments, you need to log in
How to send Cyrillic to the site in idhttp?
edit7.Text:=UTF8ToAnsi(edit7.Text);
IdHTTP1.Get('http://127.0.0.1/addnumb.php' + Edit7.Text);
- Cyrillic characters come to the site as question marks. Answer the question
In order to leave comments, you need to log in
1. Read here www.w3schools.com/tags/ref_urlencode.asp and find out how the text should be encoded to be passed to the url;
2. Encode the text using one of the solutions from here: stackoverflow.com/questions/776302/standard-url-en... (if using XE7 and above, then the best solution is TNetEncoding.Url.Encode()
).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question