Welcome to Resource Zone.

Converting %xx chars to readable

H

hughprior

In a page like

https://curlie.org/World/Greek/%c1%e3%ef%f1%dd%f2/

there are 3 types of chars:
a) the %xx format used in the URL

b) the 'internal' format which is what you see when you view the source HTML and what I am currently using in PHP in the form:

$char['url'] = "%c0";
$char['readable'] = "À";
$this->converter[] = $char;

c) the visual representation seen by the user (e.g. the actual Greek characters in this case).

Now, my questions:
1) is there a list of conversion chars?
2) is there a function in PHP to do this?

Thanks!
 
Top Bottom