string rawurlencode ( string str ) converts non-alphabetic symbols into numerical equivalents preceded by a percent sign
<? $name = 'P "H" H'; $safe_name = rawurlencode($name); ?>