Questions tagged [idn]

Internationalized domain name, an Internet domain name containing non-ASCII characters.

Internationalized domain names extend the character set for names, allowing to use characters from languages with non-latin alphabets. All IDNs have a ASCII representation for use in applications which do not support IDNs natively.

116 questions
0
votes
1 answer

PEAR Mail package and IDN domains

I'm using PEAR Mail package in many projects, sending mails via smtp method. But I found out there's a problem with IDN domains (like tüv.de). The PEAR package rejects mails containing german umlauts with "Validation failed for..." So it seems, that…
dummy
  • 103
  • 1
  • 1
  • 5
0
votes
1 answer

WHMCS IDN and punncycode

I'm having a problem with WHMCS and WHOIS lookups on it. The standard lookup for .de domains is socket://whois.denic.de but whenever i use IDN (example: äch.de) the WHOIS says that the domain is not avaible (remember IDN is enabled) but when i doo a…
0
votes
1 answer

Hostnames resolution fails with "unknown host" error for hostnames containing utf-8 characters

I am trying to ping a hostname "win-2k12r2-addc.阿伯测阿伯测ad.hai.com" from a linux client. I see that DNS requests go over the wire with hostname being sent in utf-8 format and i get a response from the DNS server also with the correct IP address. But…
Vignesh
  • 31
  • 5
0
votes
1 answer

How does IDN look in browser address bar

I want to buy IDN domain but I am not sure how is's going to look in a browser. Like, will users see xn- part or it will look just as normal in my language ?
user3448600
  • 3,648
  • 5
  • 17
  • 23
0
votes
2 answers

java IDN functions not reversible?

Why is there some IDN not reversible : String domain = "aʼnċăwb7rňuħ.eu"; System.out.println(domain); domain = IDN.toASCII(domain); System.out.println(domain); domain = IDN.toUnicode(domain); System.out.println(domain); It displays…
0
votes
0 answers

PHP idn_to_ascii returns empty string for certain URLs

I have successfully transformed thousands of urls with the idn_to_ascii function. But some (in my list about it is about 1%) are not - they look like normal url (not malformed), but i got empty…
Geza Boehm
  • 116
  • 7
0
votes
1 answer

PHP idn_to_ascii / VB.net idn.GetAscii() does not result in correct PUNY CODE / IDN Domain

I tried to conver the domain: http://pfeffermühle.com to a correct IDN Domain in Punycode form. I used vb.net and php, but both results are not correct. VB.net: Dim idn As New System.Globalization.IdnMapping() Dim punyCode As String =…
memme
  • 112
  • 1
  • 10
0
votes
1 answer

Sending international mail from command line with msmtp

I have created the following code to send an email with from address set with UTF-8 format. I know that msmtp has IDN support, but when i run this program, i get an error message that character \xe2\x82\xac (aka '€') is invalid. msmtp: envelope from…
0
votes
1 answer

Can I treat all domain names as being IDNs without any ill effects?

From testing, it seems like trying to convert both IDNs and regular domain names 'just works' - eg, if the input doesn't need to be changed punycode will just return the…
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
0
votes
3 answers

preg_match verification of non English email addresses (international domain names)

We all know email address verification is a touchy subject, there are so many opinions on the best way to deal with it without encoding for the entire RFC. But since 2009 its become even more difficult and I haven't really seen anyone address the…
Vince
  • 910
  • 2
  • 13
  • 29
0
votes
2 answers

Example URIs for unit testing IDN domains

I am building a C# tool that does some minor manipulation on URIs. I am trying to write unit tests to makes sure the tool can support IDN domains, e.g. 例え.テスト. Are there any resources that can help give me some examples of IDN domains so that I can…
Zack
  • 657
  • 5
  • 16
0
votes
1 answer

IdnToAscii linker error

I am trying to use IdnToAscii in my code. Accourding to msdn http://msdn.microsoft.com/en-us/library/windows/desktop/dd318149(v=vs.85).aspx all I need is kernel32.dll. But I receive linking error when trying to build: Error 1 error LNK2019:…
0
votes
0 answers

Differents results between php and php-cli when executing a simple php script

I try to convert an internationalized Domain Name (IDN) into its punycode equivalent using the idn function from OS (Ubuntu). Here is my simple script :
awar33
  • 11
  • 1
0
votes
0 answers

Regex match for IDN domain names

I want to check the domains with regex. I used this code but it doesn't work: /^([^\s<>]+([^\s<>]*[^\s<>]+)?.){0,}([^\s<>]+([^\s<>]*[^\s<>]+)?){1,63}(.[^\s<>]{2,7})+$/i My domain format is: example.com I don't…
user3620931
  • 131
  • 9
0
votes
1 answer

Russian domain name in cyrillic

For my customer I need name of domain in Cyrillic. It is possible? And if is possible - every hosting company can support that? Example: american export stuff With google translator (I know that´s not correct but is only as example): Американский…
tonco
  • 1,281
  • 3
  • 16
  • 30