IDNA Convert
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
The project was moved to Github on July 10, 2016 because of the Drupal.org license policies. Read more in the issue comments #2472835: IDNA Convert needs LGPL class.
I, Konstantin Komelin, the project author, do not agree on making this project less usable by asking users to download dependencies separately, so I do not see future of this project on Drupal.org. I apologize for possible inconveniences. See you on Github.
---
The module provides two functions that allow to convert domain names in Punycode to human-readable national domain names in Unicode and vice versa.
print idna_convert_decode("xn--d1acufc.xn--p1ai"); // Prints "домен.рф".
print idna_convert_encode("домен.рф"); // Prints "xn--d1acufc.xn--p1ai".
This is a simple Drupal wrapper for IDNA Convert class of Matthias Sommerfeld. IDNA Convert class is distributed under the Lesser General Public License (LGPL) 2.1.
Modules that use it:
- Yandex.Metrics (7.x-3.x)
