John R. McPherson [16.03.2006 19:30]:
> If you are using the XML::Parser module that came with
> greenstone, then you could try removing it and installing the
> version that comes with your linux distribution.
no, i already (re-)moved greenstone's to use my site's modules.
> The problem I've noticed with perl5.8 seems to be that perl 5.8
> has much better unicode support, but for backwards compatibility
> assumes that input/output streams are in iso-8859-1/Latin and
> converts it (!). "use encoding ':utf8'" is supposed to fix that,
> but doesn't work with perl5.6.
i could try that, thanks!
> Right, well that sounds like a bug in the ensure_utf8() function
> then. Which version of greenstone are you using? Perhaps you
> could email me a sample input document that causes this.
i'm using v2.62, but also tested with v2.63. sample documents can be
found here (after my message with the attachment got returned ;-):