Re: [PHP] A problem about urlencode

2004-10-25 Thread raditha dissanayake
Teng Wang wrote: I have a url containing some multi-byte characters. So I need urlencode() to change these characters into the %xx form. However, when I encode the whole url string, "/" is also be encoded as "%2F". How to solve this problem? I don't want to analyze the url string before/after urlen

[PHP] A problem about urlencode

2004-10-25 Thread Teng Wang
I have a url containing some multi-byte characters. So I need urlencode() to change these characters into the %xx form. However, when I encode the whole url string, "/" is also be encoded as "%2F". How to solve this problem? I don't want to analyze the url string before/after urlencode(). Thanks a