M
M
massef2016-12-12 11:24:48
Domain name market
massef, 2016-12-12 11:24:48

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

2 answer(s)
A
Alexander, 2016-12-12
@zkelo

Just went to this address via Chrome on Android. Nothing was cut off, and the domain itself is displayed in Cyrillic.

A
Andrey Baranov, 2017-04-21
@andre-92

Generally speaking, there $responsewill 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 question

Ask a Question

731 491 924 answers to any question