From: James Edward Gray II Date: 2010-07-23T00:42:48+09:00 Subject: Re: finding last line in a file On Jul 22, 2010, at 10:36 AM, Urabe Shyouhei wrote: > (2010/07/22 23:33), Xavier Noria wrote: >> Check the elif gem, by James Edward Gray II. >> >> It is a port of File::ReadBackwards, whose documentation explains the approach: >> >> http://search.cpan.org/~uri/File-ReadBackwards-1.04/ReadBackwards.pm#DESIGN > > And says nothing about multiligualization because M17N cannot be achieved by the approach, theoretically. Yes, I wrote it before Ruby 1.9's m17n engine. I only use it on ASCII logs, where it works fine. I would not recommend it for encoded data. James Edward Gray II