# Weird characters

**URL:** <https://www.ruby-forum.com/t/weird-characters/152634>\
**Category:** Rails\
**Created:** [November 5, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/weird-characters/152634 "2008-11-05T21:46:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![remco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@remco](https://www.ruby-forum.com/u/remco)\
**Post date:** [November 5, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/weird-characters/152634/1 "2008-11-05T21:46:40Z")

</div>

Hi,

I have weird characters in my view, like:

Armeniï¿½  
Jordaniï¿½  
Israï¿½l  
ect.

How can i solve this problem?

Grtz…remco

---

<div class="post-metadata">

**Author:** ![remco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@remco](https://www.ruby-forum.com/u/remco)\
**Post date:** [November 6, 2008, 12:19am UTC](https://www.ruby-forum.com/t/weird-characters/152634/2 "2008-11-06T00:19:14Z")

</div>

Do you have your charset set to utf-8 in the head of your html? Are  
the values coming from a database?

–Tom

On Nov 5, 3:46 pm, Remco S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![remco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@remco](https://www.ruby-forum.com/u/remco)\
**Post date:** [November 6, 2008, 8:34am UTC](https://www.ruby-forum.com/t/weird-characters/152634/3 "2008-11-06T08:34:53Z")

</div>

TomRossi7 wrote:

> Do you have your charset set to utf-8 in the head of your html? Are  
> the values coming from a database?
> 
> –Tom
> 
> On Nov 5, 3:46ï¿½pm, Remco S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

Tom,

The values coming from my database (mysql).

My header is:

remco

---

<div class="post-metadata">

**Author:** ![remco](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/9d8465/32.png) [@remco](https://www.ruby-forum.com/u/remco)\
**Post date:** [November 6, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/weird-characters/152634/4 "2008-11-06T14:47:50Z")

</div>

Have you tried changing the charset to utf-8?

On Nov 6, 2:34 am, Remco S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
