Opened 14 years ago
Closed 13 years ago
#674 closed defect (fixed)
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.
Note:
See TracTickets
for help on using tickets.
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.