Save a cookie with unescaped content

Hi, i'm trying to save a cookie with some especial characters like this 'diasnd190823===??//<<asddas'

But rails escape this characters.

Anybody knows how can i do that?

I've tried this ways without success:

1: cookies['mycookie'] = {:value => 'diasnd190823===??//<<asddas'}

2: mycookie = CGI::cookie::new('name' => 'mycookie', 'value' => 'diasnd190823===??//<<asddas') respose.headers["cookie"] << mycookie

Thanks, Alisson Sales