Changeset 24736 for main/trunk
- Timestamp:
- 2011-10-07T17:25:23+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/MetadataCSVPlugin.pm
r24547 r24736 118 118 &util::block_filename($block_hash,$filename); 119 119 120 120 121 # Read the CSV file to get the metadata 121 122 my $csv_file_content; … … 124 125 $csv_file_reader->set_handle('MetadataCSVPlugin::CSV_FILE'); 125 126 $csv_file_reader->read_file(\$csv_file_content); 127 128 # Would be nice if MetadataCSVPlugin was extended to support a minus 129 # option to choose the character encoding the CSV file is in 130 # For now we will assume it is always in UTF8 131 $csv_file_content = decode("utf8",$csv_file_content); 132 126 133 close(CSV_FILE); 127 134
Note:
See TracChangeset
for help on using the changeset viewer.