We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Претражи подршку

Избегните преваре подршке. Никада од вас нећемо тражити да зовете или шаљете поруке на број или да делите личне податке. Пријавите сумњиве радње преко „Пријавите злоупотребу” опције.

Сазнај више

Problem in passing arabic words into url as parameters

  • 1 одговор
  • 1 има овај проблем
  • 1 преглед
  • Последњи одговор послао cor-el

more options

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?

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)

more options

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.

See http://forums.mozillazine.org/viewforum.php?f=25