hi all, the escape() function is not working as expected... what do i intend by "expected"?
"characters with a value greater than 255 should be stored using the %uxxxx format" (at least, this is the way it is done on ie) but on netscape 6.2, the escape() method is "breaking". why is it important to have this feature? It will enable us to WORK with non ascii characters: hebrew, arabic, whatever... store and retrieve them from cookies, pass them as parameters on urls, etc... following is a piece of code that will demonstrate the problem: var test = String.fromCharCode( 65,66,1488,33 ); alert( escape ( test ) ); instead of getting the following string: AB%u05d0%21 i get a string with: AB only... the escape() method is just "breaking" when it encounters the hebrew "aleph" character code (1488 is 5d0 in hexadecimal) final note: this problem is not an issue related with character displaying and character-sets at all... the escape / unescape method are intended here to be used for internal data-processing... what do you think? thanks...
