I am using Rails 3.0.0.rc, Nginx 0.7.67, and Passenger 2.2.15. I am
using I18n.t on string literals defined for various locales, for
example: I18n.t(:organization), where the :es locale defines
I have verified the following:
* <meta charset="UTF-8"> is set on HTML5 doctypes
* <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
is set on HTML4 doctypes
* my text editor is set to encode files as UTF-8
* I am not pulling the strings from the database, so the database is
not an issue.
* My browser is set to UTF-8 and auto-detect Universal.
And I still see the dreaded black diamond "?" for extended chars.
If I substitute HTML entities for the offending chars, e.g.
organization: "organización" and call html_safe on the result,
I18n.t(:organization).html_safe, the characters display correctly in
the browser, , but it seems like that should not be required, and
tedious to code.
What obvious thing am I missing here? Any help appreciated.