I found this the other day: http://0xcc.net/jsescape/ but the punycode conversion doesn't work if there's a dash in the middle. For instance - I need to convert the punycode NIATO-OTABD to nñiñatoñ.
Any help much appreciated
...
When customers enter email addresses with non-ascii chars like äüö our SMTP rejects to process them.
So I think might be there is a solution to handle those domains myself and convert them to punyocode.
Is there a simple way of doing so using c#?
Would this work anyway?
...
Is there any external library out there that has the same function with java.net.IDN (which only available in jdk6) for jdk1.4?
...
I'm looking for a simple and efficient way to store UTF-8 strings in ASCII-7. With efficient I mean the following:
all ASCII alphanumeric chars in the input should stay the same ASCII alphanumeric chars in the output
the resulting string should be as short as possible
the operation needs to be reversable without any data loss
the resul...
hi,
i'm using the code from here: http://phlymail.com/en/downloads/idna/download/ and built a function like this (from the example):
function convert_to_punycode($inputstring)
{
$IDN = new idna_convert();
// The input string, if input is not UTF-8 or UCS-4, it must be converted before
$inputstringutf8 = utf8_encode($inputst...
Hi, im doing a site to check, register, etc of domains, i have to make it IDN compliant.
Right now i have something like this:
echo $domain;
$domain = idn_to_ascii($domain);
echo $domain;
$domain = idn_to_utf8($domain);
echo $domain;
and im getting this:
testing123ásd123
xn--testing123sd123-wjb
testing123ĂĄsd123
as you can se...
For example:
When typing παιχνιδια.com into Firefox, it is automatically converted to xn--kxadblxczv9d.com
Please suggest a tool for making such a conversion.
One of the easiest is this. Converts and checks for availability at the same time.
...