UTF-8 compliance in Rails


#1

I have a issue with UTF-8 compliance… Any solutions?


#2

On Oct 24, 7:33 am, kiranH removed_email_address@domain.invalid wrote:

I have a issue with UTF-8 compliance… Any solutions?

You’re going to have to give more details than that.

Fred


#3

Hi Fred,

I mean in a given message text posted or submitted in a form,
special characters are inconsistently rendering.

I need to check whether this is a utf problem or an HTML entity
management problem?

Thanks&Regards,
Kiran.

On Oct 24, 2:41 pm, Frederick C. removed_email_address@domain.invalid


#4

Kiran Soumya wrote:

I mean in a given message text posted or submitted in a form,
special characters are inconsistently rendering.

I need to check whether this is a utf problem or an HTML entity
management problem?

Rails works well with UTF-8. When characters are rendering incorrectly
after having been posted, 99% of the time it’s an encoding configuration
with the database or an incorrect HTML content type declaration. Have
you checked your database.yml and database encoding setup?


Roderick van Domburg
http://www.nedforce.nl