I keep getting a "URIError: URI error" from prototype when using latin
accents and 'Ñ' in Ajax.Request() even if I escape() the value!

The simplified example below works with value = "Maria" but fails ()
with value="María" or value="Niño" (note the value is escape()'d) .
ANY IDEAS?

var thisCGI = 'path/to/my/cgiscript/';
var field = 'name';
var value = 'María';

Ajax.Request(thisCGI, {
        method:'post',
        parameters: field +'='+ escape(value),
        onSuccess: function(ok)  {   },
        onFailure: function(err) {  }
});

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to