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
22
votes
2 answers

Are IDN domain names case-sensitive?

Some people will reply that domain names are not case-sensitive. In the new Unicode world this is no longer true. (Source) I thought one of the steps in the Unicode > Punycode conversion was a "normalisation", which rendered domain names lower…
TRiG
  • 10,148
  • 7
  • 57
  • 107
12
votes
3 answers

What is the maximum length of an IDNA converted domain name?

First things first: I'm storing multiple domains to a database, after I've converted each and every domain name to it's IDNA version. What I need to know the maximum length such an IDNA-converted domain name can have so I can define the database…
user1093284
12
votes
3 answers

How to convert IDN to ASCII?

What is the best way to convert an internationalized domain name to its ASCII-form? I want to convert Bücher.ch into xn--bcher-kva.ch by using some sort of (free) .net code.
Espo
  • 41,399
  • 21
  • 132
  • 159
9
votes
2 answers

Which Unicode characters are allowed in IDN host labels?

I’m currently working on a “proper” URI validator, and currently it all comes down to hostname validation; the rest isn’t that tricky. I’m stuck on IDN hostname labels (i.e., containing Unicode; possible punycode encoded strings have been decoded at…
Roland Franssen
  • 1,038
  • 1
  • 11
  • 22
7
votes
4 answers

Ruby convert IDN domain from Punycode to Unicode

I'm writing a Rails app that needs to convert an IDN domain name from Punycode into its Unicode equivalent. I tried installing the idn gem that has bindings to GNU LibIDN, but it won't compile the native code. Apparently others have the same issue…
Abe Voelker
  • 30,124
  • 14
  • 81
  • 98
7
votes
0 answers

Library to detect IDN domain from a string?

IM/Email type scenario: User types whatever they want and sends it to their buddy. If they enter a URL, I want to make it clickable for the recipient. This means we need to identify a sequence of characters within the string is a valid URI and make…
Paul B
  • 71
  • 2
6
votes
1 answer

CookieContainer does not store cookies for internationalized domain names

I'm trying to perform authorization on a cyrillic domain using WebClient. Authorization goes through few stages with redirects between normal and punicode domains. The problem is HttpWebRequest can not store cookies in assigned CookieContaier if it…
Leff
  • 582
  • 3
  • 12
6
votes
3 answers

Is there any way to avoid showing "xn--" for IDN domains?

If I use a domain such as www.äöü.com, is there any way to avoid it being displayed as www.xn--4ca0bs.com in users’ browsers? Domains such as www.xn--4ca0bs.com cause a lot of confusion with average internet users, I guess.
user1360250
  • 331
  • 1
  • 3
  • 14
5
votes
3 answers

idn_to_ascii() in 5.2.17

There's a very handy function idn_to_ascii() in PHP 5.3, but I'm running 5.2.17 and I can't change that. How do I encode Unicode domain names to ascii then?
donk
  • 1,540
  • 4
  • 23
  • 46
5
votes
1 answer

Utf-8 in subdomain?

Is it possible to use UTF-8 in a subdomain? If so, which characters are allowed and how does the can't-mix-encodings thing work? I've tried to RTFM, but Google wan't of much help
Fluffy
  • 27,504
  • 41
  • 151
  • 234
5
votes
3 answers

PHP how to use idn_to_ascii for mail adresses

since it's possible to have Umlaute (e.g. öäü) in the local part of an email address I need to convert them to ascii because Zend-Mail is not able to handle it - it always throws invalid header exception. So there is this php-function idn_to_ascii…
Sepultura
  • 997
  • 1
  • 9
  • 28
5
votes
0 answers

Does not work FB OAuth in the firefox

There is a problem at IDN domain, Facebook oauth when re-authorization showing a blank popup. And nothing more happens. The problem is repeated only in Firefox. Demo: test page 1) Click on FB button. Accept auth. 2) Refresh page. Click on FB…
Alix Reinel
  • 145
  • 10
5
votes
0 answers

Implementation of IDNs in JIDs as specified in RFC 6122

I have added International Domain Name support to an XMPP client as specified in RFC 6122. In the RFC it states: Although XMPP applications do not communicate the output of the ToASCII operation (called an "ACE label") over the wire, it MUST be …
Sam Whited
  • 6,880
  • 2
  • 31
  • 37
5
votes
0 answers

Does SmtpClient support international email addresses (IDN/Intl email) in .Net 4.0?

In .Net 4.5 SmtpClient have public property DeliveryFormat which accepts values of the System.Net.Mail.SmtpDeliveryFormat type. So I can assign DeliveryFormat value SmtpDeliveryFormat.International and sends emails to the дима@почта.рф (cyrilic…
Dmitry Bykadorov
  • 111
  • 3
  • 10
5
votes
3 answers

What are A-label and U-label in domain names

I am working on extra SSL requirement of hostname check. Want to know what A-label and U-label in DN. Thanks
Chandu
  • 1,837
  • 7
  • 30
  • 51
1
2 3 4 5 6 7 8