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

where and how to submit DNSSEC DS record for a IDN ccTLD

I got the opportunity to configure an IDN ccTLD. I have already configured the DNS server and it is working properly. Now I have a challenge to secure the dns service by DNSSEC. I configured DNSSECC by self-signing. But Now I can't understand…
Samrat
  • 83
  • 1
  • 5
3
votes
1 answer

How can i code and decode urls from IDN in php?

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…
Juan Techera
  • 1,192
  • 2
  • 14
  • 25
3
votes
1 answer

IDN aware tools to encode/decode human readable IRI to/from valid URI

Let's assume a user enter address of some resource and we need to translate it to: human readable form HTML4 specification refers to RFC 3986 which allows only ASCII alphanumeric characters and dash in host part and…
Denis Otkidach
  • 32,032
  • 8
  • 79
  • 100
3
votes
0 answers

Convert Unicode to ASCII in URL (domain and parameters)

I have an Url, for example, http://кц.рф/ru/registrators/ and want to convert it to http://xn--j1ay.xn--p1ai/ru/registrators/ form. new System.Globalization.IdnMapping().GetAscii(href) // result:…
Mekanik
  • 2,532
  • 1
  • 22
  • 20
3
votes
1 answer

How do I keep HTML Tidy from encoding IDNs?

I'm using HTML Tidy, and out of something like Link it makes Link How do I tell Tidy to keep the links the way they are? My configuration: 'output-xhtml' =>…
Martin Denk
  • 554
  • 3
  • 14
2
votes
2 answers

Any way to show IDNs correctly?

I've made a Portfolio Website and chose to use a Domain with cyrillic characters. Sadly, it's being displayed as "xn--80afg8d.me", which is ugly as hell. Is there any way to make browsers display it correctly? Does the same thing happen with other…
mirnanoc
  • 21
  • 2
2
votes
1 answer

Java IDN Conversion of the german Eszett "ß"

I encounter an issue with converting domain names which contains the german Eszett "ß", usually I use the java IDN class to do it, but it does not work as expected on this specific case. String domainName = "faß.de"; String…
2
votes
0 answers

DNS resolution failure with Unicode host name

Recently, a strange bug has popped up with some clients of ours. After some deep diving into the logs provided by unity's developer console build, I've come across the following error: SocketException: Could not resolve host 'ן§¹ב· ו·©' I've traced…
2
votes
2 answers

Simple question about characters in django urls

In django documentation they wrote that in urls it is only possible to use ASCII characters. It seems to be strange to me because of characters that are in IDN domains. For exapmle, if I have IDN domain and I want to have not only ASCII characters…
krzyhub
  • 6,285
  • 11
  • 42
  • 68
2
votes
0 answers

Laravel validation rule to restrict umlauts in email addresses (international domain names)

I need to restrict the usage of German umlauts (äÄöÖüÜ) in email addresses. So I quickly created a custom validation rule in my AppServiceProvider: Validator::extend('without_umlauts', function ($attribute, $value) { return…
Sven
  • 1,450
  • 3
  • 33
  • 58
2
votes
0 answers

converting escaped urls with punycode to utf, refactoring

I want to store all my url in readble utf8 class User < ActiveRecord::Base require 'addressable/uri' require 'idn' include IDN def service_url=(url) url = Addressable::URI.parse Addressable::URI.unescape(url) url.host =…
Oleg German
  • 135
  • 1
  • 6
2
votes
2 answers

Perl: Homograph attacks. It is possible to compare ascii / non-ascii strings, visually similar?

I faced this so called "homograph attack" and I want to reject domains where decoded punycode visually seems to be alphanumeric only. For example, www.xn--80ak6aa92e.com will display www.apple.com in browser (Firefox). Domains are visually the same,…
Claude
  • 171
  • 10
2
votes
1 answer

IDN support in Android

Does Android browser support IDN websites? Also is this support available for 3rd party applications? In other words can I connect to a webservice hosted on an IDN website from an Android App? Thanks!
viikiin
  • 21
  • 1
2
votes
0 answers

How to remove dependency of normaliz.dll in libcurl?

I'm using libcurl in my windows application support Windows xp or higher, it is a single dll file, in order to make it easer to distribute to others, I removed every dependency file except the normaliz.dll. I know it is used for WinIDN, but it…
zzy
  • 1,771
  • 1
  • 13
  • 48
2
votes
1 answer

idn2.h: No such file or directory

I am on 64-bit Centos 6.6 and want to install libidn2-devel. I tried yum install libidn2-devel and that didn't work. I tried downloading rpms from various websites from Internet(resolving recursive dependencies manually!) (Not so) Soon I stuck at…
Piyush Deshmukh
  • 519
  • 1
  • 7
  • 14