<html> <body>
<?php
$str="ABCD あいうえお"; $encdata = urlencode($str); echo $encdata;
?>
</body> </html>
ABCD+%82%A0%82%A2%82%A4%82%A6%82%A8 </body> </html>