I got an url I like
http://localhost:3000/article?text?n%E4sta

When I read the parameter params[:text] I only get näa. It deletes the
two characters after %E4.

In my log i can see the parameter:
Parameters: {"text"=>"n?sta"....

The length of chars is only 3
params[:text].chars().length

The length of the parameter is 4
params[:text].length

The Chars is:
params[:sms].length.times

CHAR[n=0](110)=n
CHAR[n=1](195)=?
CHAR[n=2](164)=?
CHAR[n=3](97)=a

The chars for chars():
params[:sms].chars().length.times

CHAR[n=0](110)=n
CHAR[n=1](195)=?
CHAR[n=2](164)=?

Any suggestions how I should solve this?
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to