Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #5375 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Excerpt has problems when handling a phrase parameters with UTF-8

Reported by: piotr@layer22.com Assigned to: anonymous
Priority: normal Milestone:
Component: ActionPack Version:
Severity: normal Keywords: excerpt helper
Cc: me@julik.nl

Description

while doing excerpt('NIE DZIAà AJĄ WAGI NA KASIE NR1 (NIE PRZESYà A INFORMACJI NA KASĘ)ORAZ 3', 'nie dziaà ‚a', 25) i get a nil

The problem is connected with /i modifier in Regexp which does not handle the string as case insensitive

Change History

06/13/06 13:23:23 changed by anonymous

  • cc set to me@julik.nl.
  • owner changed from David to anonymous.
  • status changed from new to assigned.
  • component changed from ActiveRecord to ActionPack.

06/14/06 23:08:05 changed by me@julik.nl

Refers to #5396, fixes there will include a solution for this

01/14/07 23:23:53 changed by manfred

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in [5288].