I was using escape() in javascript. I switched to encodeURI() and i guess i now am getting correct values.
On Mon, Aug 22, 2011 at 7:42 PM, Jens Alfke <[email protected]> wrote: > > On Aug 22, 2011, at 7:45 AM, Erdem Agaoglu wrote: > > So while a _show like ` > http://localhost:5984/example/_design/app/_show/foo/bar` works perfectly, > ` > http://localhost:5984/example/_design/app/_show/foo/bar?baz=%A3` fails > with > > {"error":"os_process_error","reason":"{exit_status,0}"} > > Well, the query string in the latter URL is invalid UTF-8, so the request > _should_ fail. But maybe with a friendlier / more relevant message. > > If you’re encoding non-ASCII characters in URLs, you should be using UTF-8 > encoding, not ISO-8859-1 or CP1252 or whatever it is you’re using. > > —Jens > -- erdem agaoglu
