# Accent interpretation function

**URL:** <https://www.ruby-forum.com/t/accent-interpretation-function/138466>\
**Category:** Rails\
**Created:** [May 23, 2008, 10:17am UTC](https://www.ruby-forum.com/t/accent-interpretation-function/138466 "2008-05-23T10:17:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![z4n9ief](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7993a0/32.png) [@z4n9ief](https://www.ruby-forum.com/u/z4n9ief)\
**Post date:** [May 23, 2008, 10:17am UTC](https://www.ruby-forum.com/t/accent-interpretation-function/138466/1 "2008-05-23T10:17:55Z")

</div>

Hi,

I have in my database some words like “touchÃ©” saved in this format:  
touché  
And my problem is that, when Rails publish this kind of word in a page,  
it write: touch&eacute;

Is there a function for saying to Rails to copy/past the information of  
the database without encoding them?

Thanks

---

<div class="post-metadata">

**Author:** ![z4n9ief](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7993a0/32.png) [@z4n9ief](https://www.ruby-forum.com/u/z4n9ief)\
**Post date:** [May 25, 2008, 11:01am UTC](https://www.ruby-forum.com/t/accent-interpretation-function/138466/2 "2008-05-25T11:01:26Z")

</div>

Omg, in fact I just need to remove the h in the tag, like this one: \<%=h  
mon\_texte %\>  
I am so noob 🙂

Thanks anyway.
