Forum: Ruby on Rails Weird characters

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
28be3be213eeed3f66e0a20f1e20c7ac?d=identicon&s=25 Remco Swoany (zwaan123)
on 2008-11-05 21:46
Hi,

I have weird characters in my view, like:

Armeni�
Jordani�
Isra�l
ect.

How can i solve this problem?

Grtz..remco
5f3d52658aafcf0aabe76a5147e8909f?d=identicon&s=25 TomRossi7 (Guest)
on 2008-11-06 00:19
(Received via mailing list)
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 Swoany <rails-mailing-l...@andreas-s.net>
28be3be213eeed3f66e0a20f1e20c7ac?d=identicon&s=25 Remco Swoany (zwaan123)
on 2008-11-06 08:34
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 Swoany <rails-mailing-l...@andreas-s.net>

Tom,

The values coming from my database (mysql).

My header is:

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

remco
5f3d52658aafcf0aabe76a5147e8909f?d=identicon&s=25 TomRossi7 (Guest)
on 2008-11-06 14:47
(Received via mailing list)
Have you tried changing the charset to utf-8?

On Nov 6, 2:34 am, Remco Swoany <rails-mailing-l...@andreas-s.net>
This topic is locked and can not be replied to.