# Text\_field\_with\_auto\_complete and special characters

**URL:** <https://www.ruby-forum.com/t/text-field-with-auto-complete-and-special-characters/57800>\
**Category:** Rails\
**Created:** [April 14, 2006, 8:46am UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-and-special-characters/57800 "2006-04-14T08:46:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkogler](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ba9def/32.png) [@gkogler](https://www.ruby-forum.com/u/gkogler)\
**Post date:** [April 14, 2006, 8:46am UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-and-special-characters/57800/1 "2006-04-14T08:46:06Z")

</div>

I have a problem with text\_field\_with\_auto\_complete. Everything works  
fine except when I type special characters like Ã¤,Ã¶,Ã¼. They are not  
escaped. “oberver\_field” has a with-option like this:

:with =\> “‘ort=’ + escape($F(‘ort’))”

This works fine with umlauts, too. Is there a way to escape the user  
input using text\_field\_with\_auto\_complete ?
