Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

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
    Jonas Nicklas commented at 2:06 PM

    There is a method called external_encode which 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
    Jonas Nicklas commented at 12:49 PM

    So 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
  • Jonas Nicklas
    • 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
    by Jonas Nicklas at 10:19 PM

    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
    Jonas Nicklas created the ticket at 11:45 PM

    In 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...