# URL and params with %E4

**URL:** <https://www.ruby-forum.com/t/url-and-params-with-e4/138853>\
**Category:** Rails I18n\
**Created:** [May 28, 2008, 11:32am UTC](https://www.ruby-forum.com/t/url-and-params-with-e4/138853 "2008-05-28T11:32:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![emeratius](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@emeratius](https://www.ruby-forum.com/u/emeratius)\
**Post date:** [May 28, 2008, 11:32am UTC](https://www.ruby-forum.com/t/url-and-params-with-e4/138853/1 "2008-05-28T11:32:18Z")

</div>

I got an url I like  
[http://localhost:3000/article?text?n�sta](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

CHARn=0=n  
CHARn=1=?  
CHARn=2=?  
CHARn=3=a

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

CHARn=0=n  
CHARn=1=?  
CHARn=2=?

Any suggestions how I should solve this?
