Changeset 23829


Ignore:
Timestamp:
2011-03-28T13:47:46+13:00 (13 years ago)
Author:
ak19
Message:

Display string for Source also needs to be in normalised composed form, since all display strings including doc text are to be stored in that form (so searching is also consistent).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/BasePlugin.pm

    r23759 r23829  
    971971       
    972972    # Source is the UTF8 display name - not necessarily the name of the file on the system
     973    if ($ENV{'GSDLOS'} =~ m/^darwin$/i) {
     974    # on Darwin want all display strings to be in composed form, then can search on that
     975    $url_encoded_filename = normalize('C', $url_encoded_filename); # Normalisation Form 'C' (composition)
     976    }
    973977    $doc_obj->set_utf8_metadata_element($this_section, "Source", $url_encoded_filename);
    974978
Note: See TracChangeset for help on using the changeset viewer.