Changeset 12832


Ignore:
Timestamp:
2006-09-22T15:43:10+12:00 (18 years ago)
Author:
kjdon
Message:

added in ascii casee in read_file - if not done specially, will be used in a call to unicode::unicode2utf8, which will fail as it doesn't accept ascii

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/multiread.pm

    r9414 r12832  
    294294    }
    295295
    296     if ($self->{'encoding'} eq "iso_8859_1") {
     296    if ($self->{'encoding'} eq "iso_8859_1" || $self->{'encoding'} eq "ascii") {
    297297    # we'll use ascii2utf8() for this as it's faster than going
    298298    # through convert2unicode()
Note: See TracChangeset for help on using the changeset viewer.