Use encodeURIComponent() instead of escape() which doesn't encode all characters...