UTF8 problem

Switched to new server, and from Apache to Nginx, now random text
throughout site converted to non UTF8 characters, while text after
change remains compliant with UTF8.

MySQL database set to use UTF8 before and after change.

Also using ThingkingSphinx.

Any thoughts on fixing this?

On Feb 14, 4:29pm, TJ [email protected] wrote:

Switched to new server, and from Apache to Nginx, now random text
throughout site converted to non UTF8 characters, while text after
change remains compliant with UTF8.

MySQL database set to use UTF8 before and after change.

Check that the encoding setting in database.yml is set to mysql, and
check that table & columns are actually set to use utf8 (show create
table etc.). Double check that the columns that claim to contain utf8,
do in fact contain utf8

Fred

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