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
5
votes
1 answer

display IDNs from normalized URIs with ruby (using the Addressable Gem)

In my Ruby app I need to handle URIs from user input (which are actually IRIs) str = "http://उदाहरण.परीक्षा/मुख्य_पृष्ठ" I normalize these using Addressable, and only store the normalized form: normalized =…
levinalex
  • 5,889
  • 2
  • 34
  • 48
5
votes
1 answer

How to force JTable to NOT invert text in the case it contains arabic characters?

I have the following text: وزا.word But when displaying it on my JTable it looks like this: word.وزا In every JLabel or TextArea or any other input it does look like the original text: وزا.word ONLY on the JTable I am having such problem. I do not…
George W
  • 187
  • 9
5
votes
1 answer

Unresolved external symbol - IdnToAscii

I tried to build the following sample application available on msdn: http://msdn.microsoft.com/en-us/library/windows/desktop/dd319089%28v=vs.85%29.aspx I created a new C++ command line project in Visual Studio 2012 Premium on a windows 7 64bit box,…
marapet
  • 54,856
  • 12
  • 170
  • 184
5
votes
1 answer

Which format to use for the CN & DNS fields in a SSL certificate for an IDN?

If I am issued a SSL certificate for an IDN domain, should I expect the value in the CN field to be the literal UTF-8 string for the domain name, or the escaped, punycode version? What about the X509v3 Subject Alternative Name DNS entries, would…
kch
  • 77,385
  • 46
  • 136
  • 148
4
votes
1 answer

IDNA does not round-trip

I have some IDNA encoded strings that I cannot decode. In Python, I try u"xn--grohandel-shop-2fb".decode("idna") and get the error "IDNA does not round-trip". The same for "xn--sottmqqo5-lgbe9b7no0hmz9u". I'm stumped, and Googling the error doesn't…
Steve
  • 4,033
  • 5
  • 32
  • 29
4
votes
2 answers

How to enable IDN/IRI Support for URI-Class by code?

I'm trying to enable the IDN/IRI support for the URI class, because I need the "Uri.IsWellFormedUriString" method on german umlaut-domains (e.g. www.bücher.de). I found similar question at https://stackoverflow.com/a/6107682/413531 (taken from…
Hirnhamster
  • 7,101
  • 8
  • 43
  • 73
4
votes
1 answer

IDN domain and Facebook Connect

Does Facebook Connect support IDN domains with special characters such as æ, ø, å?
John
  • 404
  • 4
  • 12
4
votes
1 answer

Ajax calls to encoded Internationalized domain names with jQuery 1.5 doesn't work in Internet Explorer?

Using jQuery 1.5 or 1.5.1, any ajax() calls to encoded Internationalized domain names (IDN) (like xn--bcher-kva.ch) seems to fail in Internet Explorer 8. It worked fine in jQuery 1.4.4 and also with 1.5+ in any other browser than IE. It also works…
4
votes
1 answer

WKWebView load webpage with special characters

I've got a wkwebview that works as a browser. I can't manage to load addresses with special characters such as "http://www.håbo.se" (swedish character). I'm using: parsedUrl = [parsedUrl…
Daniel Åkesson
  • 1,330
  • 1
  • 12
  • 21
4
votes
0 answers

Open Graph / Facebook: Keep IDN URL instead of ACE Strings by posting on Facebook

I have a international Domain with german "umlauts" (german special characters). When posting/linking on Facebook the original Domainname (IDN) is shown as ACE String (something "translated" URL maybe for DNS without special german chars) at the…
4
votes
1 answer

How should internationalised domain names (IDNA) be sent in the Location header on redirect?

Websites that have internationalized domain names will often want to respond to HTTP requests with a redirect status code (3XX). When they do that they will want to put the redirection target in the Location header. If the website wants to use an…
Lukasa
  • 14,599
  • 4
  • 32
  • 34
3
votes
1 answer

Do browsers encode in punycode only domain or whole url?

I was reading about IDN homograph atack and didn't find exactly stated does browsers encode in punycode only domain or rest of the URL is included (path and query). So my question is does one of popular browsers (FF, IE, Chrome, Safari, Opera)…
Antonio Bakula
  • 20,445
  • 6
  • 75
  • 102
3
votes
1 answer

How can I rewrite s domain name to the original IDN not the punycode?

I have bought an IDN domain name with non-latin characters. It is good but when I access the domain name, the address bar shows the punycode for the domain not the actual domain which will be hard for any user to remember. Is there is anyway I can…
alhoseany
  • 761
  • 9
  • 28
3
votes
1 answer

International Domain Names + JQuery attr('href') problems in Firefox

I'm trying to set the href of an a element using jQuery. When I set an IDN in Firefox 6, the href is url encoded. One example is the IDN http://räksmörgås.se, which is mangled to http://r%C3%A4ksm%C3%B6rg%C3%A5s.se. When I do the same in other…
Thomas Lundström
  • 1,589
  • 1
  • 13
  • 18
3
votes
1 answer

DotNet 5.0 IdnMapping.GetAscii throws ArgumentException

I wrote an example console application: Get current DotNet version Then get ASCII from latine string (each label equals to or less 63 symbols long, total string length (including dots) is 254 symbols long) static void Main(string[] args) { …