Commit d4c91f6c authored by mso's avatar mso

Version 0.8.2 - 2014-09-15

git-svn-id: svn+ssh://85.214.81.201/srv/svn/repos/idna_convert/trunk@3165 35e3bc58-21ef-11dd-9788-dfbd14258a26
parent ffecca76
......@@ -2,7 +2,7 @@
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
51 Franklin St, Boston, MA 02110, United States
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
......
......@@ -4,7 +4,7 @@
* *
* http://idnaconv.phlymail.de mailto:phlymail@phlylabs.de *
*******************************************************************************
* (c) 2004-2013 phlyLabs, Berlin *
* (c) 2004-2014 phlyLabs, Berlin *
* This file is encoded in UTF-8 *
*******************************************************************************
......@@ -45,7 +45,7 @@ containing ß.
In older builds "ß" was mapped to "ss". Should you still need this behaviour,
see example 5 below.
ATTENTION: As of version 0.8.0 the class fully supports IDNA 2008. Thus the
ATTENTION: As of version 0.8.0 the class fully supports IDNA 2008. Thus the
aforementioned parameter is deprecated and replaced by a parameter to switch
between the standards. See the updated example 5 below.
......
......@@ -22,8 +22,10 @@ if (isset($_REQUEST['decode'])) {
}
$lang = 'en';
if (isset($_REQUEST['lang'])) {
if ('de' == $_REQUEST['lang'] || 'en' == $_REQUEST['lang']) $lang = $_REQUEST['lang'];
$add .= '<input type="hidden" name="lang" value="'.$_REQUEST['lang'].'" />'."\n";
if ('de' == $_REQUEST['lang'] || 'en' == $_REQUEST['lang']) {
$lang = $_REQUEST['lang'];
$add .= '<input type="hidden" name="lang" value="'.$lang.'" />'."\n";
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
......@@ -72,7 +74,7 @@ h5 {margin:0;font-size:11pt;font-weight:bold;}
Stellen Sie aber sicher, dass Ihr Browser den Zeichensatz <strong>UTF-8</strong> unterstützt.<br />
<br />
Wenn Sie Interesse an der zugrundeliegenden PHP-Klasse haben, können Sie diese
<a href="http://phlymail.com/de/downloads/idna/download/">hier herunterladen</a>.<br />
<a href="http://phlymail.com/de/downloads/idna-convert.html">hier herunterladen</a>.<br />
<br />
Diese Klasse wird ohne Garantie ihrer Funktionstüchtigkeit bereit gestellt. Nutzung auf eigene Gefahr.<br />
Um sicher zu stellen, dass eine Zeichenkette korrekt umgewandelt wurde, sollten Sie diese immer zurückwandeln
......@@ -89,7 +91,7 @@ h5 {margin:0;font-size:11pt;font-weight:bold;}
Make sure, that your browser is capable of the <strong>UTF-8</strong> character encoding.<br />
<br />
For those of you interested in the PHP source of the underlying class, you might
<a href="http://phlymail.com/en/downloads/idna/download/">download it here</a>.<br />
<a href="http://phlymail.com/en/downloads/idna-convert.html">download it here</a>.<br />
<br />
Please be aware, that this class is provided as is and without any liability. Use at your own risk.<br />
To ensure, that a certain string has been converted correctly, you should convert it both ways and compare the
......@@ -125,7 +127,7 @@ h5 {margin:0;font-size:11pt;font-weight:bold;}
</tbody>
</table>
<br />
<span id="copy">Version used: 0.8.1; &copy; 2004-2013 phlyLabs Berlin; part of <a href="http://phlymail.com/">phlyMail</a></span>
<span id="copy">Version used: 0.8.2; &copy; 2004-2014 phlyLabs Berlin; part of <a href="http://phlymail.com/">phlyMail</a></span>
</div>
</body>
</html>
\ No newline at end of file
......@@ -16,8 +16,7 @@
// | |
// | You should have received a copy of the GNU Lesser General Public |
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
// | USA. |
// | Foundation, Inc., 51 Franklin St, Boston, MA 02110, United States |
// +----------------------------------------------------------------------+
//
......@@ -47,8 +46,8 @@
* ACE input and output is always expected to be ASCII.
*
* @author Matthias Sommerfeld <mso@phlylabs.de>
* @copyright 2004-2011 phlyLabs Berlin, http://phlylabs.de
* @version 0.8.1 2011-12-19
* @copyright 2004-2014 phlyLabs Berlin, http://phlylabs.de
* @version 0.8.2 2014-09-15
*/
class idna_convert
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment