# Utf-8 encoding problem for text field

**URL:** <https://www.ruby-forum.com/t/utf-8-encoding-problem-for-text-field/146872>\
**Category:** Rails\
**Created:** [August 26, 2008, 10:52am UTC](https://www.ruby-forum.com/t/utf-8-encoding-problem-for-text-field/146872 "2008-08-26T10:52:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![raju\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a9adbd/32.png) [@raju\_k](https://www.ruby-forum.com/u/raju_k)\
**Post date:** [August 26, 2008, 10:52am UTC](https://www.ruby-forum.com/t/utf-8-encoding-problem-for-text-field/146872/1 "2008-08-26T10:52:25Z")

</div>

hi all,  
I have a problem concerned with utf-8 encoding and text\_field.

the text field - \<%= text\_field :query, :text %\>  
In the text\_field I entered keloidales de acnÃ©

In controller I tried params[:query][:text]  
for this I get keloidales de acn and Ã© is omitted…

please can anyone give a solution for this

thanks and regards  
Raju
