Click to See Complete Forum and Search --> : Special Chars in URL


philaweb
12-05-2005, 08:08 PM
What is the technical term using special chars in URL's called?

Example (http://slettes.dk/redirect_to/?url_name=http://ru.wikipedia.org/wiki/%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F)

Above example needs international chars settings on your OS to be seen properly.

LiLcRaZyFuZzY
12-05-2005, 08:17 PM
you'll see the browser convert it to:

http://ru.wikipedia.org/wiki/%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F

philaweb
12-05-2005, 08:30 PM
you'll see the browser convert it to:

http://ru.wikipedia.org/wiki/%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F

Yes, so much I do understand. ;)

Do you by chance know what this technology is called? :)

LiLcRaZyFuZzY
12-05-2005, 08:40 PM
the urlencode() (http://php.net/urlencode) function
Returns a string in which all non-alphanumeric characters except -_. have been replaced with a percent (%) sign followed by two hex digits and spaces encoded as plus (+) signs. It is encoded the same way that the posted data from a WWW form is encoded, that is the same way as in application/x-www-form-urlencoded media type.

philaweb
12-05-2005, 09:50 PM
the urlencode() (http://php.net/urlencode) function

Thanks for your info. :)

I have searched the web and found this URLEncode Code Chart (http://slettes.dk/redirect_to/?url_name=http://i-technica.com/whitestuff/urlencodechart.html).

There is just one problem, the chart is incomplete.

I also realized that the Russian urlencoded word in the link I used earlier consists of 7 cyrillic letters, but the urlencode bit consists of 14 encode chars.

Does anyone know where I can find more information on a complete set of urlencoded chars - and I do not know whether they are ASCII or Unicode or whatever.