Skip to content

Instantly share code, notes, and snippets.

@Timi7007
Timi7007 / idn_converter.php
Last active February 13, 2018 16:18
Simple web-based IDN to ACE & ACE to IDN converter written in PHP. Requires php-intl. Demo: http://usf01.timlukas.de/idn.php
<?php
// You need php-intl to run this!
$input = $_POST['domain'];
echo '<html>
<head>
<title>IDN Converter</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">