I'm reading about this but I can't quite come up with a way to convert a Chinese character (actually ANY character) from UTF8 to ascii7 (%e5%be%88 type format).
What I'm trying to do is be able to pass an ascii7 string to mod_rewrite (in the url) and from there...you get the gist.
What I simply can't figure out is if this is possible. Do I need some kind of a character map (for each language) to do a replace and then convert it? I am unable to find a to do this directly (like with chr() or something).
I had tried using ord() to get the ascii value and then convert from there...no luck...not sure...
Anybody ever tackle this before...?