From | John R. McPherson |
Date | Fri, 27 Jun 2003 18:21:17 +1200 |
Subject | Re: [greenstone-devel] bug in import of ascended filenames? |
In-Reply-To | (3EFBD9B9-9040300-cs-waikato-ac-nz) |
John R. McPherson wrote:
> roman chyla wrote: >> Hi, >> >> yesterday I made some interesting test. I saved 4 word files; the >> first four had ascended characters in filename ; the second group had >> only ascii7 chars in filename. The content of both groups were in >> non-ascii encoding. >> >> all 8 files were imported >> >> the first 4 files (with ascended chars) were rejected during building > Hi,
> Thanks for pointing this out. Sorry I can't suggest a fix or a
Ok, can you please try the following? In perllib/plugins/BasPlug.pm, at around line 496 there is a line like: $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "Source", &ghtml::dmsafe($filemeta)); Change this to say $doc_obj->add_metadata($doc_obj->get_top_section(), "Source", &ghtml::dmsafe($filemeta)); (ie, without the utf8 in the function name). This will assume that the
Any plugin that is based on HTMLPlug or BasPlug should then get it right,
John McPherson |