Ignore:
Timestamp:
2001-01-16T11:48:04+13:00 (23 years ago)
Author:
sjboddie
Message:

Added support for Cyrillic languages (windows codepage 1251) - yet to be
tested by anyone who understands any such language though ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/BasPlug.pm

    r1756 r1838  
    5454    print STDERR "                        unicode (just unicode -- doesn't currently do endian\n";
    5555    print STDERR "                                 detection)\n";
     56    print STDERR "                        windows_1251 (Windows codepage 1251 (Cyrillic))\n";
    5657    print STDERR "   -process_exp      A perl regular expression to match against filenames.\n";
    5758    print STDERR "                     Matching filenames will be processed by this plugin.\n";
     
    8788
    8889    my $self = {};
    89     my $encodings = "^(iso_8859_1|Latin1|ascii|gb|iso_8859_6|windows_1256|Arabic|utf8|unicode)\$";
     90    my $encodings = "^(iso_8859_1|Latin1|ascii|gb|iso_8859_6|windows_1256|Arabic|utf8|unicode|windows_1251)\$";
    9091    $self->{'outhandle'} = STDERR;
    9192    my $year = (localtime)[5]+1900;
Note: See TracChangeset for help on using the changeset viewer.