[thelist] Multi-lingual form field checking

Diane Soini dianesoini at earthlink.net
Fri Jan 9 19:54:58 CST 2004


I don't think escape() and unescape() is what I need. The characters 
are not URL encoded. For example, I put in a polish word "osiagnac" The 
a's have a curly underneath (sorry, I know nothing about what these 
letters are called) and the c has an accent. What I receive back in my 
prepopulated form field is osiągnąć which has been 
converted (by the CGI script) into HTML entities. (The query string is 
osi%26%2361 etc, so javascript URL encoding is already being called.)

I'm looking for a way to decode the HTML entities, if there is an easy 
way, with javascript.

Diane

On Friday, January 9, 2004, at 07:07 AM, 
thelist-request at lists.evolt.org wrote:

> Hi Diane,
>
> escape() and unescape() are the JavaScript functions for toggling =
> between a character's URL-encoded and -unencoded states. See =
> http://www.dolcevie.com/js/js_encode.html for a nice demo.
>
> --Ben



More information about the thelist mailing list