Issue Type: Bug Bug
Affects Versions: JRuby 1.7.2
Assignee: Thomas E Enebo
Created: 09/Jan/13 1:20 PM
Description:

Apologies for the terrible bug report, we are having trouble creating a minimal test case. Posting in case it rings bells for anyone.

In a Rails app, translations with utf8 characters are displaying incorrectly in ERB view templates, i.e. "Centre d’aide" displays as "Centre d���aide".

Of note:

  • This value is coming from <%= t(:my_key) %>
  • Rails.logger.info(t(:my_key)) has the same problem (question marks in the logs)
  • <%= t(:my_key).encoding %> is utf8
  • This is not replicable in an IRB console
  • Using a ruby translation file (rather than YAML) does not exhibit the problem

This is a regression from 1.6.7.

Project: JRuby
Priority: Minor Minor
Reporter: Xavier Shay
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to