Problem in passing arabic words into url as parameters
I have a website where everyhting is in arabic.I am having a problem with search page only on Firefox (everything works correctly on IE,safari,google chrome) For example i search for فيروز keyword. This is the inital link that opens after i hit search button. http://www.neelwafurat.com/locate.aspx?mode=2&search=singer1&entry=فيروز Now on forefox when i press the next button or any page number to see the results it doesnt show them and it gives me that there are no results.However there are results compared to other browsers.
From code i get the keyword value like this entry = Request("entry") I noticed on debug that this فيروز word became ظپظٹط±ظˆط² when i pressed next page even though it didnt chnage on 1st run of the page (on page1) and of course my search will search for the new word.
Is there anything missing i need to add to firefox or i need to change in my code?
Усі відповіді (1)
That page is send as Arabic (Windows-1256) and it works if the data is send as such, but not if encodeURIComponent() is used as Firefox does.
You can try to ask advice at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.