Re: [greenstone-users] PagedImage plugin

From Katherine Don
DateWed, 22 Mar 2006 16:38:18 +1200
Subject Re: [greenstone-users] PagedImage plugin
In-Reply-To (52B914D66FE6974A952ECCACE81B36428F5415-libmail1-libad-csus-edu)
Hi Bin

I have just tried this with an item file containing UTF-8 chinese
metadata (metadata values, not metadata names).
And it built fine.

Greenstone currently has a problem with unicode metadata *names*, so if
this is what you are trying to do, it won't work.
But unicode *values* should.

Are you sure the file is encoded in UTF-8?
What version of greenstone are you using?

I have attached my item file. You could try with this file and see if
your greenstone can handle it. If not, you may need a newer version of


Bin Zhang wrote:
> I used utf-8. Any idea why this is happening?
> Thanks
> Bin
> -----Original Message-----
> From: John R. McPherson []
> Sent: Tuesday, March 21, 2006 4:42 PM
> To: Bin Zhang
> Cc:
> 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
> ------------------------------------------------------------------------
> _______________________________________________
> greenstone-users mailing list

Type: text/html
Filename: chinese.item

??? <Subject>??????? <Series>??????? 1:21.jpg:: 2:31.jpg:: 3:11.jpg:: </td></tr> </table> </p></div> </div> <!-- document:footer --> <div class="navarrowsbottom"> </div> </div> <!-- id=page --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-9967942-1"); pageTracker._trackPageview(); } catch(err) { } </script> </body> </html>