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

How do I find the code for the Special Character ǝ in an IDN and type it?

In searching to resolve this issue I have found several lists of codes that appear to be the same special character, but give different codes from each other. And since I can't seem to type them, I can't verify if any of them is the correct code for…
Webmaster
  • 21
  • 2
2
votes
1 answer

PHP cURL get content with accented URL

Using cURL with an accented URL, I cannot get content if CURLOPT_RETURNTRANSFER = true. Example: $curl = curl_init(); curl_setopt ($curl, CURLOPT_URL, "http://fr.wikipedia.org/wiki/Été"); curl_setopt ($curl, CURLOPT_RETURNTRANSFER, true); $html =…
Samuel De Backer
  • 3,404
  • 2
  • 26
  • 37
2
votes
1 answer

How do I match japanese characters using IDN regex?

Based on this post link text i came up with a regex for javascript \b(([\w-]+:\/\/?|[\w\d]+[.])?[^\s()<>]+[.](?:\([\w\d]+\)|([^`!()\[\]{};:'".,<>?«»“”‘’\s]|\/))) this one matches urls like http://google.com http://www.google.com google.com It…
anusuya
  • 653
  • 1
  • 9
  • 24
2
votes
1 answer

Redirect to URL with umlauts or accents via .htaccess

To redirect to a new URL that contains diacritics via .htaccess, what is the correct and safe way? Can I somehow set the .htaccess file to UTF-8 and just use the non-ASCII characters, e.g.: redirect 301 / http://www.bücher.ch/ Need I use the ACE…
Avant la lettre
  • 351
  • 3
  • 13
2
votes
1 answer

404 on custom IDN (internationalized domain name) on Azure site

It worked fine to add the punyencoded IDN name to the custom domain list, but my server does not repsond to requests and instead I get a default Azure Error "404 - Web Site not found!" page (indicating that the request at least goes to Azure). Does…
bang
  • 4,982
  • 1
  • 24
  • 28
2
votes
1 answer

IdnMapping.GetAscii method in .NET C# not working as expected

When I call IdnMapping.GetAscii(http://президент.рф/) I am getting result xn--http://-5ggibum1ewap2b.xn--/-4tbm which is not correct. I don't know where is the problem ? Is this method works as expected in C# ? When I copy paste same url in Google…
Radenko Zec
  • 7,659
  • 6
  • 35
  • 39
2
votes
0 answers

Wordpress error on saving administration settings with IDN domains

I have created a new wordpress site on Azure Web Sites, this time using IDN Domain. I configured the domain in the administrator page using its punycode representation: Wordpress URL: http://xn--sandraeiaki-8db.com Site URL:…
Iñaki Elcoro
  • 2,153
  • 1
  • 18
  • 33
2
votes
3 answers

Properly Matching a IDN URL

I need help building a regular expression that can properly match an URL inside free text. scheme One of the following: ftp, http, https (is ftps a protocol?) optional user (and optional pass) host (with support for IDNs) support for www and…
Alix Axel
  • 151,645
  • 95
  • 393
  • 500
2
votes
0 answers

GWT RPC is not working in Opera at IDN

GWT RPC requests fail in Opera when site has international domain name. The error message is as follows: Unable to initiate the asynchronous service invocation (GreetingService_Proxy.getDate) -- check the network connection (DOMException) code:…
Andrey Minogin
  • 4,521
  • 6
  • 38
  • 60
2
votes
2 answers

Can Not Read UNICODE URL in C#

The following code won't work: using System; using System.IO; using System.Net; using System.Web; namespace Proyecto_Prueba_04 { class Program { /// /// /// ///
user352353
2
votes
2 answers

Splitting up an IDN URL in PHP

I'm trying to take an IDN URL along the lines of http://exämple.se/path or https://äxämple.se/anotherpath?foo=bar&baf=bas so that I get the components of it like so: [0] http(s):// [1] äxämple.se [2] /anotherpath?foo=bar&baf=bas My first thought…
mludd
  • 729
  • 2
  • 7
  • 23
2
votes
2 answers

Coldfusion and Java how to validate a punycode IDN

Recently I rebuilt some forms so they would accept International Domains like http://例子.测试 I would then store these as punycode. Before this though we had validation code running to check whether the domain was valid using Coldfusions isValid()…
Jarede
  • 3,310
  • 4
  • 44
  • 68
1
vote
0 answers

How to encode IDN on apache?

I need to rewrite requests in apache to a directory. While most browsers convert it to Punycode (Bücher.ch -> xn--bcher-kva.ch) some of the request is encoded to ascii (Bücher.ch -> B%C3%BCcher.ch). My directories is in Punycode, meaning, I'm…
koby
  • 665
  • 2
  • 6
  • 15
1
vote
2 answers

How to enable IDN support in PHP (cURL)?

My cURL configuration (fro phpinfo() function) is: cURL support enabled cURL Information 7.21.7 Age 3 Features AsynchDNS Yes Debug No GSS-Negotiate Yes IDN No IPv6 Yes Largefile Yes NTLM …
MartyIX
  • 27,828
  • 29
  • 136
  • 207
1
vote
2 answers

Does Cocoa's CFHost support IDNs?

WINAPI has methods to convert Unicode host names to Punycode. Does Cocoa/Cocoa Touch have a similar mechanism?
Plumenator
  • 1,682
  • 3
  • 20
  • 49