Re: [greenstone-users] change encoding default?

From John R. McPherson
DateSun, 18 Feb 2007 06:35:32 +1300
Subject Re: [greenstone-users] change encoding default?
In-Reply-To (45D6C4CB-6070403-sdb-org)
On Sat, Feb 17, 2007 at 10:03:07AM +0100, Julian Fox wrote:
> Hi there,
> Since, for the moment, I am working in resources only of European
> languages (excluding English for the moment), I would prefer that GS
> defaults to ISO 8859-1 rather than UTF-8. How do I get it to do this?


are you talking about the default during the import/build phase,
or the default encoding served up when the collection is accessed
via the webserver?

For importing, greenstone should be able to automatically detect the
encoding of input documents, but if you have documents where
greenstone gueeses wrong, you can set the "default_encoding" option on
the import plugin that is processing those types of files.

And for serving collections via the web server, there is nothing wrong
with serving the content as utf-8, since all the data is stored internally
in unicode.