Ticket #674 (closed defect: fixed)

Opened 10 years ago

Last modified 9 years ago

wide character error with GreenstoneMETS plugin

Reported by: kjdon Owned by: nobody
Priority: moderate Milestone: 2.84 Release
Component: Collection Building Severity: major
Keywords: Cc:

Description

Wide character in print at /research/kjdon/home/gsdl/perllib/mgppbuildproc.pm line 417, <FILEIN> line 14974.

Get this when building with METS, not with GS XML.

Only get one line printed for each document. Can view the whole file though.

Doesn't seem to depend on whether text or title is going to the index.

And the collection looks similar to one built with GreenstoneXML.

Change History

Changed 9 years ago by davidb

  • status changed from new to closed
  • resolution set to fixed

The difference was tracked down to GreenstoneMETSPlugin knowning the text read in was in Unicode form, whereas GreenstoneXMLPlugin saw it a stream of bytes (Perl's binary string format). Changes made to basebuildproc.pm and ReadTextFile? in addition to these two plugins to make our building code more aware that is is handling Unicode strings.

Note: See TracTickets for help on using tickets.