UTF-8 compliance in Rails

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

On Oct 24, 7:33 am, kiranH [email protected] wrote:

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

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

Fred

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. [email protected]

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs