Carlos wrote:
>> URI#escape escapes to UTF-8.  I need to escape to Latin-1 for Amazon's
[...]
> URI#escape escapes to UTF-8 because your string is UTF-8-encoded. Use 
[...]
> and then apply URI#escape.

Correction: it's not URI#escape but URI.escape.

--