Foren / Cotonti / Development / language issue

url decoding and encoding

ez
#24349 26. April 2010, 04:33
I need this for the ezchat plugin..

When rooms are made in another language (russian... or something else...)
then this roomname is put on the url via a encode function..
so it turns into %uXXXX characters...

But getting that back, i need the foreign language again.. (Если in my testcase)

There is one catch... all languages should work!

How do I do this ?

==============
I could rewrite the whole damn thing and put an id in stead off a name on the url...
But i am looking for a quick solution.
==============

Added 1 day later:

I have converted the ezchat plugin to use id's... using text on a url was a design
mistake that I made :( good news is, I learned from it

All languages should work now :)

p.s. I will release it soon.. I will ask someone to test it first...

greetz,

ez
==- I say: Keep it EZ -==

Dieser Beitrag wurde von ez (am 27. April 2010, 05:32, vor 15 Jahre) bearbeitet