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.

tulskiy's latest activity

Monday, March 01 2010
4075 Incorrect behavior of truncate on utf-8 strings was updated in Ruby on Rails
  • tulskiy
    tulskiy commented at 7:39 AM

    Forgot to add, I'm using Rails 2.3.5 and Ruby 1.9.1 on Ubuntu 9.10.

  • tulskiy
    tulskiy created the ticket at 7:38 AM

    I have a problem with truncate on Russian strings. For example if s is "Словарь" then

    s = truncate(product.description, :length => 9)
    

    returns correct string w...