# "incompatible character encodings: ASCII-8BIT and UTF-8"

**URL:** <https://www.ruby-forum.com/t/incompatible-character-encodings-ascii-8bit-and-utf-8/191321>\
**Category:** Rails\
**Created:** [July 9, 2010, 3:58pm UTC](https://www.ruby-forum.com/t/incompatible-character-encodings-ascii-8bit-and-utf-8/191321 "2010-07-09T15:58:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/cc9497/32.png) [@unit](https://www.ruby-forum.com/u/unit)\
**Post date:** [July 9, 2010, 3:58pm UTC](https://www.ruby-forum.com/t/incompatible-character-encodings-ascii-8bit-and-utf-8/191321/1 "2010-07-09T15:58:57Z")

</div>

Hi!

Just started to learn Rails, and I get this error when i’m trying to  
make a simple forum-app (much like the screencast about making a blog in  
15min at [rubyonrails.org](http://rubyonrails.org)). This appears when I try to render a partial -  
that is posting a comment containing swedish letters Ã¥ (å), Ã¤  
(ä) and Ã¶ (ö).

I can view those posts by going to localhost:3000/posts/ using the  
scaffold generated new, edit and show. This error only appears when  
rendering a partial.

I’ve tried to change encoding to UTF-8 everywhere I could find, tried  
with latin1 aswell. Can’t figure out what’s wrong. I’ve googled,  
searched a number of forums…

Thankful for any help!

Regards /BjÃ¶rn
