Hi,

Yesterday I discovered a problem on one of my sites: escape function was encoding the same string Salò in two different ways:
  1. Sal%F2
  2. Sal%C3%B2


This was happening on Firefox 2.0.0.3. In Opera 9.20 was encoded ok every time.

So, in Firefox was a russian roulette . Sometimes was encoding the string like I wanted to, sometimes not. As a solution I use encodeURIComponent(), but the behavior of escape() seems strange to me.