# Character encode

**URL:** <https://discuss.rubyonrails.org/t/character-encode/60143>\
**Category:** rubyonrails-talk\
**Created:** [July 31, 2011, 9:42pm UTC](https://discuss.rubyonrails.org/t/character-encode/60143 "2011-07-31T21:42:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alcelyo\_Roberto](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@Alcelyo\_Roberto](https://discuss.rubyonrails.org/u/Alcelyo_Roberto)\
**Post date:** [July 31, 2011, 9:42pm UTC](https://discuss.rubyonrails.org/t/character-encode/60143/1 "2011-07-31T21:42:30Z")

</div>

Good evening guys, I’m using now with 3 rails web app themes rails to generate the layouts, almosteverything working ok, only the names I write code in such a ride when I put atable in the header with character “ç” character shows the strange but data thatcomes from the database shows normal, which can be and how can I fix? Thank you all …

---

<div class="post-metadata">

**Author:** ![Andrew\_Skegg](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@Andrew\_Skegg](https://discuss.rubyonrails.org/u/Andrew_Skegg)\
**Post date:** [August 1, 2011, 1:08am UTC](https://discuss.rubyonrails.org/t/character-encode/60143/2 "2011-08-01T01:08:37Z")

</div>

Alcelyo Roberto \<alcelyo@...\> writes:

> Good evening guys,I'm using now with 3 rails web app themes rails to

generate the layouts, almosteverything working ok, only the names I write code in such a ride when I put atable in the header with character "ç" character shows the strange but data thatcomes from the database shows normal, which can be and how can I fix? Thank you all ...-- Alcelyo R MarizBacharel em Sistemas de Informação

> 

It is probably being escaped for browser safety. If you can trust the data, try using "raw":

\<= raw @variable.stuff \>
