Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 4 Aug 2011 00:45:14 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: issues with 1.7.8-jumbo-5

On Wed, Aug 03, 2011 at 10:29:09PM +0200, magnum wrote:
> On 2011-08-03 20:06, Solar Designer wrote:
> >--encoding=iso-8859-1 doesn't appear to recognize the 8-bit letters
> >for me.  Specifically, when run on a Russian word in koi8-r, it doesn't
> >treat it as a word (most rules reject it), unlike when I run
> >--encoding=koi8-r, which does the right thing.  Due to similarities
> >between these two encodings (as far as the rules are concerned), I
> >expected to get similar results for them - but this is not the case.
> 
> On my UTF-8 terminal, this works fine:
> 
> $ echo бцдеф | iconv -t koi8-r | ../run/john -pipe -enc=iso-8859-1 -ru 
> -stdout | iconv -f koi8-r
> 
> I get 51 words from this.

This also works for me (tested on a koi8-r terminal, omitting the
iconv's).  My previous test was wrong - both words I tried it on
included the '\xD7' character, which is one of the three specific to
koi8-r and not a letter in iso-8859-1.  Sorry for the noise, and thanks!
I guess more testing did not hurt, after all. ;-)

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.