RE: [greenstone-users] PagedImage plugin

From Bin Zhang
DateTue, 21 Mar 2006 16:47:15 -0800
Subject RE: [greenstone-users] PagedImage plugin
I used utf-8. Any idea why this is happening?

Thanks
Bin

-----Original Message-----
From: John R. McPherson [mailto:jrm21@cs.waikato.ac.nz]
Sent: Tuesday, March 21, 2006 4:42 PM
To: Bin Zhang
Cc: greenstone-users@list.scms.waikato.ac.nz
Subject: Re: [greenstone-users] PagedImage plugin

On Tue, Mar 21, 2006 at 03:15:29PM -0800, Bin Zhang wrote:

> I was trying to setting up a collection of scanned images of Chinese
> books. I first tried to use the plain format for the document
> metadata. If I use Chinese in the .item file, GLI will not process
> the file, but I add some English text in front of Chinese, it would
> work. Then I tought maybe if I use the XML format it would work.
> Wrong. XML format doesn't work at all, even if I only have Chinese
> text in the .item file. Perl would die a fatal death.

What encoding(s) did you use? I'm not sure but I wouldn't be surprised if the plugin assumes that the .item file is in utf-8, instead of big5 or gbk.

John