URL Encode problem
Posted: Sun Sep 23, 2012 2:24 am
Hi,
I have noticed that firefox in order to http post some characters from the greek alphabet (ISO-8859-7) encodes the string.
I try to do the same but when i use URLEncoder() or similar functions found in this forum the returned string is different..
For example the word "τεστ" (test in greek) is encoded by firefox as %CF%84%CE%B5%CF%83%CF%84 and by URLEncoder as %F4%E5%F3%F4. If i post the string from firefox all is ok.
How i can do the same without replacing every single character with his code?
I have noticed that firefox in order to http post some characters from the greek alphabet (ISO-8859-7) encodes the string.
I try to do the same but when i use URLEncoder() or similar functions found in this forum the returned string is different..
For example the word "τεστ" (test in greek) is encoded by firefox as %CF%84%CE%B5%CF%83%CF%84 and by URLEncoder as %F4%E5%F3%F4. If i post the string from firefox all is ok.
How i can do the same without replacing every single character with his code?