# Eruby and charset

**URL:** <https://www.ruby-forum.com/t/eruby-and-charset/82637>\
**Category:** Ruby\
**Created:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/eruby-and-charset/82637 "2007-01-19T16:31:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/eruby-and-charset/82637/1 "2007-01-19T16:31:54Z")

</div>

At the page :

[http://www.yvon-thoraval.com/eruby/index.rhtml](http://www.yvon-thoraval.com/eruby/index.rhtml)

the headers give :

Content-type: text/html; charset=iso-8859-1

i don’t know where this info comes from, because it isn’t in my  
httpd.conf file and the file itself (index.rhtml) is of UTF-8 encoding.

Then i wonder how to setup eruby for the Content-type charset ???
