Project

General

Profile

Bug #14264 » 0000277-utftest.php

Administrator Admin, 2004-08-05 13:14

 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>Unbenannt</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<body>

<?php

$c = "ü";
echo $c."<br />";

$c_enc = rawurlencode($c);
echo $c_enc."<br />";

?>

<script type="text/javascript" charset="UTF-8">
document.writeln(escape("<? echo $c; ?>"));
document.writeln(unescape(escape("<? echo $c; ?>")));
document.writeln(unescape('<? echo $c_enc; ?>'));
</script>




</body>
</html>
(1-1/8)