Jonas Nicklas
Not a member
Jonas Nicklas's latest activity
Wednesday, May 12 2010
2188
Encoding error in Ruby1.9 for templates
was updated
in Ruby on Rails
-
Jonas Nicklas commented at 2:06 PMThere is a method called
external_encodewhich is documented as "Encode to internal encoding". That seems pretty strange, but I can't say I understand much of w...
Friday, November 27 2009
2188
Encoding error in Ruby1.9 for templates
was updated
in Ruby on Rails
-
Jonas Nicklas commented at 12:49 PMSo the alternatives are:
1) Pretty much every real world Rails app anywhere is broken on Ruby 1.9
2) The patch is applied and we simply assume UTF-8 for templat...
Wednesday, March 18 2009
2188
Encoding error in Ruby1.9 for templates
was updated
in Ruby on Rails
-
- Tag changed from 2.3-rc2, i18n to 2.3-rc2, ruby1.9
- Title changed from i18n fails with multibyte Strings in Ruby 1.9 (similar to #2038) to Encoding error in Ruby1.9 for templates
I figured out now that I18n isn't the culprit. I18n.t returns a UTF-8 string, the issue seems to be that templates by default are ASCII-8BIT encoded, and when a...
Monday, March 09 2009
2188
i18n fails with multibyte Strings in Ruby 1.9 (similar to #2038)
was created
in Ruby on Rails
-
Jonas Nicklas created the ticket at 11:45 PMIn Ruby 1.9 translating Strings which have non-ascii characters in them does not work for me.
If I have keys like this is my translation file:
"sv": test1: b...