Answer the question
In order to leave comments, you need to log in
Problem with Cyrillic domain on mobile devices?
Site keyothuahin.rf
On Iphone
If, for example, you copy the url with the object number ( http:// www.keyothuahin.rf/catalog/huahin-room-baansansuk-1064B ), then when you paste it, it will be converted to this form ( http:// www. xn--80aawbhgrf0bkvct1h.xn--p1ai/catalog/huahin-room-baansansuk-1064B ) and in principle, the fact that the domain name itself is converted to Punycode (as I understand it) is okay.
But on Android, when pasting, the entire url is cut off to the domain and only http:// www.xn--80aawbhgrf0bkvct1h.xn--p1ai is inserted , that is, you get to the main page.
What could be the reason and how to solve it?
UPD: It turned out that this behavior is only when pasted into the WhatsApp and Viber application on android.
Answer the question
In order to leave comments, you need to log in
Just went to this address via Chrome on Android. Nothing was cut off, and the domain itself is displayed in Cyrillic.
Generally speaking, there $response
will be a boolean value in it (see curl_exec ). If you want the function to return the content of the requested page, use this tip
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question